Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6909927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:45:03+00:00 2026-05-27T08:45:03+00:00

We are using a html embedded object as given below. We are trying to

  • 0

We are using a html embedded object as given below. We are trying to find the referrer on server side from the request. But in Safari browser referrer is not setting. Is there a way we can pass referrer explicitly in this scenario?

<object id=\"\" codebase=\"http://www.sample.com/qtactivex/qtplugin.cab#version=7,3,0,0\" width=\"848\" height=\"480\" classid=\"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\" class=\" quicktime\"><param value=\""+videoURL+"\" name=\"src\"><param value=\"transparent\" name=\"wmode\"><param value=\"false\" name=\"showlogo\"><param value=\"tofit\" name=\"scale\"><param value=\"true\" name=\"saveembedtags\"><param value=\"true\" name=\"postdomevents\"><embed src=\""+videoURL+"\" type=\"video/quicktime\" wmode=\"transparent\" postdomevents=\"true\" controller=\"true\" showlogo=\"false\" scale=\"tofit\" width=\"848\" height=\"480\" airplay=\"allow\" posterframe=\"http://sample.com/global/elements/quicktime/qt_endstate848x480.jpg\" autostart=\"true\" cache=\"true\" bgcolor=\"white\" aggressivecleanup=\"false\" style=\"width: 848px; height: 480px; \"><param value=\"true\" name=\"controller\"><param value=\"http://sample.com/global/elements/quicktime/qt_endstate848x480.jpg\" name=\"posterframe\"><param value=\"false\" name=\"showlogo\"><param value=\"true\" name=\"autostart\"><param value=\"true\" name=\"cache\"><param value=\"white\" name=\"bgcolor\"><param value=\"false\" name=\"aggressivecleanup\"></object>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T08:45:03+00:00Added an answer on May 27, 2026 at 8:45 am

    You can access the referrer in Javascript using document.referrer, though my understanding is that it would be a mistake to rely on it. I’m not sure this is what you’re looking for, though – this would give you the previous page the user was on, whereas when the server receives the request for the video I assume you want the current page, which is available as location.href. You could add this as a querystring parameter to the video URL to pass it to the server.

    But I’m guessing that you’re trying to restrict the content of the video to only be shown on a particular site. In this case, passing the referrer explicitly through a querystring is going to be insufficient, because it’s too easy to spoof. In that case, you might be better off using some sort of token-based verification. You might be able to use this technique for avoiding cross-site request forgeries, which relies on checking a site-specific cookie against a parameter that’s passed to the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using an SVG object embedded in HTML using the <object> tag. The SVG
Usually Flash and Flex applications are embedded on in HTML using either a combination
I need to edit (using javascript) an SVG document embedded in an html page.
I am using HTML, and I'd like to hide the script tag from the
I'm calling into a flash app embedded in a html page using the ExternalInterface.
I'm trying to resize an embedded object. The issue is that when the mouse
I have an HTML page which contains an Object tag to host an embedded
I'm using the GGeoXml object to overlay KML on an embedded Google Map. I
I've got a little bit of javascript embedded in my html (using a .aspx
I'm using .NET Framework 4.0 (with WPF) trying to load a local HTML file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.