[osflash] secure my application...
paul | LOWRES
paul at low-res.de
Sat Nov 3 06:42:10 PDT 2007
maybe a cross-domain policy is, what you are looing for?
http://livedocs.adobe.com/flash/9.0/UsingFlash/help.html?content=WSd60f23110762d6b883b18f10cb1fe1af6-7b35.html
cheers,
paul
Am 03.11.2007 um 14:01 schrieb Marcelo de Moraes Serpa:
> 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"){
> 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
>
>
> _______________________________________________
> 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/bad341dd/attachment-0001.html
More information about the osflash
mailing list