<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Paul :)<div><span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; line-height: 16px; ">Add a cross-domain policy, which prevents unauthorized domains from accessing your assets.</span></div><div><font class="Apple-style-span" face="Verdana" size="3"><span class="Apple-style-span" style="font-size: 11px; line-height: 16px;">but how ??</span></font></div><div><br></div><div><div><div>Le 3 nov. 07 à 14:42, paul|LOWRES a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">maybe a cross-domain policy is, what you are looing for?<div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><a href="http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WSd60f23110762d6b883b18f10cb1fe1af6-7b35.html">http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WSd60f23110762d6b883b18f10cb1fe1af6-7b35.html</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">cheers,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">paul</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div><div>Am 03.11.2007 um 14:01 schrieb Marcelo de Moraes Serpa:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello Jean,<br><br>I'm also searching for a way to restrict my flash application in a domain. Actually I thought in serving the SWF through a script instead of letting the webserver serve it so that I could do this referrer check server-side (Using Ruby/Rails or PHP for example). Code to check the referrer in the SWF could work but someone could decompile your SWF and remove this check. <br><br>If someone got some ideas regarding that, please share!<br><br>Marcelo.<br><br><div><span class="gmail_quote">On 10/26/07, <b class="gmail_sendername">Jean-Philippe DELAVALLADE</b> <<a href="mailto:jeanphide@orange.fr"> jeanphide@orange.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> Hello,</font></div><div style="margin: 0px; min-height: 15px;"><br></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> I would like to protect my application, do a referrer in fact</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> I've tried this code but the server never run with that :</font></div><div style="margin: 0px; min-height: 15px;"><br></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(124, 22, 85);" color="#7c1655" face="Monaco" size="3"> public</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> </font> <font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(124, 22, 85);" color="#7c1655" face="Monaco" size="3"> boolean</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> appConnect(IConnection conn, Object[] params) { </font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> <span style="white-space: pre;">        </span>String pageUrl = (String)conn.getConnectParams().get(</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(20, 72, 255);" color="#1448ff" face="Monaco" size="3"> "pageUrl"</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> );</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> <span style="white-space: pre;">        </span></font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(0, 55, 195);" color="#0037c3" face="Monaco" size="3"> log</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3">.debug( </font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(20, 72, 255);" color="#1448ff" face="Monaco" size="3"> "L'URL de la pages est : "</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> +pageUrl);</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> <span style="white-space: pre;">        </span></font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(59, 108, 194);" color="#3b6cc2" face="Monaco" size="3"> if(pageUrl</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> </font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(59, 108, 194);" color="#3b6cc2" face="Monaco" size="3"> !=</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> </font> <font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(59, 108, 194);" color="#3b6cc2" face="Monaco" size="3"> "<a href="http://mydomain/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><font style="color: rgb(0, 68, 242);" color="#0044f2"><u>http://mydomain</u></font></a>"){</font></div><div style="margin: 0px;"> <font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"><span style="white-space: pre;">         </span></font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(59, 108, 194);" color="#3b6cc2" face="Monaco" size="3"> return</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> </font> <font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(59, 108, 194);" color="#3b6cc2" face="Monaco" size="3"> false;</font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> </font> </div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> <span style="white-space: pre;">        </span> </font><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(59, 108, 194);" color="#3b6cc2" face="Monaco" size="3"> }</font></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> Can you show me the way, in order to my appli just run under my domain ?</font></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> Thanks guys</font></div><span class="sg"><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;"><font style="font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Monaco" size="3"> JP</font></div> </span></div><br>_______________________________________________<br>osflash mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:osflash@osflash.org">osflash@osflash.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://osflash.org/mailman/listinfo/osflash_osflash.org" target="_blank"> http://osflash.org/mailman/listinfo/osflash_osflash.org</a><br><br></blockquote></div><br> _______________________________________________<br>osflash mailing list<br><a href="mailto:osflash@osflash.org">osflash@osflash.org</a><br><a href="http://osflash.org/mailman/listinfo/osflash_osflash.org">http://osflash.org/mailman/listinfo/osflash_osflash.org</a><br></blockquote></div><br></div></div>_______________________________________________<br>osflash mailing list<br><a href="mailto:osflash@osflash.org">osflash@osflash.org</a><br>http://osflash.org/mailman/listinfo/osflash_osflash.org<br></blockquote></div><br></div></body></html>