| View previous topic :: View next topic |
| Author |
Message |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Sat Oct 11, 2008 4:13 pm Post subject: Xanatos :( |
|
|
warned me for two of the same topics.
I died a little inside.
_________________
|
|
| Back to top |
|
 |
Xanatos I post too much
Reputation: 18
Joined: 06 May 2007 Posts: 2559 Location: US
|
Posted: Sat Oct 11, 2008 4:13 pm Post subject: |
|
|
Cross-domain permissions that are established with the Security.allowDomain() method are asymmetrical. In the previous example, siteA.swf can script siteB.swf, but siteB.swf cannot script siteA.swf, because siteA.swf has not called the Security.allowDomain() method to give SWF files at siteB.com permission to script it. You can set up symmetrical permissions by having both SWF files call the Security.allowDomain() method.
In addition to protecting SWF files from cross-domain scripting originated by other SWF files, Flash Player protects SWF files from cross-domain scripting originated by HTML files. HTML-to-SWF scripting can occur with callbacks established through the ExternalInterface.addCallback() method. When HTML-to-SWF scripting crosses domains, the SWF file being accessed must call the Security.allowDomain() method, just as when the accessing party is a SWF file, or the operation will fail. For more information, see Author (developer) controls.
Also, Flash Player provides security controls for SWF-to-HTML scripting. For more information, see Controlling access to scripts in a host web page.
_________________
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Sat Oct 11, 2008 4:14 pm Post subject: |
|
|
TL;DR
_________________
|
|
| Back to top |
|
 |
[SPW]Jsin Grandmaster Cheater Supreme
Reputation: 0
Joined: 19 Jul 2007 Posts: 1251
|
Posted: Sat Oct 11, 2008 4:14 pm Post subject: |
|
|
html is not allowed in posts
_________________
|
|
| Back to top |
|
 |
Localhost I post too much
Reputation: 0
Joined: 28 Apr 2007 Posts: 3402
|
Posted: Sat Oct 11, 2008 4:15 pm Post subject: |
|
|
Im confused.
_________________
|
|
| Back to top |
|
 |
|