[osflash] secure my application...
Marcelo de Moraes Serpa
celoserpa at gmail.com
Sat Nov 3 06:01:38 PDT 2007
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 <jeanphide at orange.fr> 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
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20071103/f285d7b3/attachment.html
More information about the osflash
mailing list