NYCPHP Meetup

NYPHP.org

[nycphp-talk] Looking for info on Obfuscating download links

Mitch Pirtle mitch.pirtle at gmail.com
Fri Sep 17 17:45:49 EDT 2004


The way I have done it in the past included mod_rewrite looking for
/downloads/ and redirecting that to download.php with the following
directory as a token, and the final filename as the target file for
download.

You can generate the tokens at random, and store them in the session
for that particular user.  If they match, then they get the file.

It isn't perfect (or that detailed) but works for the majority of sites, no?

-- Mitch, windering what better ways are available


On Fri, 17 Sep 2004 17:08:54 -0400, Paul Reinheimer
<preinheimer at gmail.com> wrote:
> I'm looking for some information on obfuscating download links.



More information about the talk mailing list