Prohibiting direct file downloads

J. Landman Gay jacque at hyperactivesw.com
Tue Oct 11 00:12:09 EDT 2011


On 10/10/11 11:04 PM, Andre Garzia wrote:
> Jacque,
>
> There are many ways to do this. The easiest is with .htaccess. You can make
> your .htaccess check for the HTTP_REFERRER and see if the download is coming
> from your own site, if it is not, then, it can redirect somewhere.

Thanks Andre, I thought of that already but I forgot to say that 
JaguarPC doesn't send referrer info. You are on that IP, right? When I 
run the echo.mt script, there is no referrer listed. That was exactly 
what I wanted to do.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list