Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.security and crossdomain.xml question

Status
Not open for further replies.

yourkeylady

Programmer
Jan 8, 2004
63
US
System.security.allowDomain("I am also trying this
System.security.allowDomain("
Hi everyone,

I've added this to my code so I can sendAndLoad using https which is on another domain

(redirects after checking for Flash Player 7)
This prompts for a user name and password when in flash
(click on the door for guests then click on login)
I don't want it to prompt for anything from the browser.

But when the login url is typed directly in the browser it goes to the url without prompting for a password.


I put this crossdomain.xml file in the base directory at perlyates.net

Code:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy 
  SYSTEM "[URL unfurl="true"]http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">[/URL]
<cross-domain-policy>
   <allow-access-from domain="[URL unfurl="true"]www1067.ssldomain.com/perlygates"[/URL] />
   <allow-access-from domain="perlygates.net" />
</cross-domain-policy>

Thanks
Tricia
 
I found out that the free SSL addresses use redirects. And redirects will not work in flash crossdomain files. So I went and bought a certificate. Now all works fine.

Thanks
Tricia
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top