Hello Jean,

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.

If someone got some ideas regarding that, please share!

Marcelo.

On 10/26/07, Jean-Philippe DELAVALLADE <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I would like to protect my application, do a referrer in fact
> I've tried this code but the server never run with that :
>
> public boolean appConnect(IConnection conn, Object[] params) {
>     String pageUrl = (String)conn.getConnectParams().get("pageUrl");
>     log.debug("L'URL de la pages est : " +pageUrl);
>     if(pageUrl != "*http://mydomain* <http://mydomain/>"){
> return false;
>          }
> Can you show me the way, in order to my appli just run under my domain ?
>
> Thanks guys
>
> JP
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to