RevMedia Question: Securing the revlet?

David Coker davidocoker at gmail.com
Fri Oct 30 10:42:17 EDT 2009


Hello Malte,

Thank you so much for a very clear explanation and example. That's awesome!
Best regards,
David C.

Malte Pfaff-Brill wrote:
> Hi David,
>
> this script executes a bit of javascript in the browser. The result 
> will then contain the URL your revLet has been launched from and you 
> can react accordingly. so you might want to do this on openstack for 
> example
>
> on openStack
> local tURL
> do "document.location.href;" in browser
> put the result into tURL
> if tURL <> "path/you/would/expect.html" then
> answer "You are using my revlet from an unknown location. Please use 
> it from my site instead"
> -- do a redirect here if you wish or quit
> end if
> end openStack
>
> Hope that sheds some light.
>
> All the best,
>
> Malte
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list