Skip to main content
September 1, 2008
Answered

Read Domain Name from FMS3

  • September 1, 2008
  • 2 replies
  • 378 views
Hi, Can we read Domain name like " http://domainname.com" from where our swf is placed for security reason.

Like i placed my main.swf in a domain xyz.com. And xyz.com (which have main.swf) is accessing my FMS path. then i will allow that swf to enter in our FMS code. otherwise i will block that.

So is it possible to read the domain name of main.swf file from where FMS is called?

This will basically prevent the hackers to load FMS data in their main.swf or any name .swf file. Please help me out.
    This topic has been closed for replies.
    Correct answer
    Yes. Use the referrer property of the client object.

    http://www.adobe.com/livedocs/flashmediaserver/3.0/hpdocs/00000271.html#72546

    2 replies

    September 3, 2008
    Yes its working as per my requirment. Thanks a lot for the help.
    Correct answer
    September 2, 2008
    Yes. Use the referrer property of the client object.

    http://www.adobe.com/livedocs/flashmediaserver/3.0/hpdocs/00000271.html#72546