Re: How do I hide download link ...
| From: | Nathan Taylor | Date: | Tue, 18 Jun 2002 09:42:55 +0000 |
| Subject: | Re: How do I hide download link ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102669@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Fargo Lee" <fargolee@iname.com>
To: <php-general@lists.php.net>
Sent: Wednesday, June 12, 2002 4:14 PM
Subject: [PHP] How do I hide download link ...
> Hi, my customers go through a password authentication to access a link on
my
> site to download a file. I want to prevent the distribution of the
location
> of this file on my server by making it hidden. Is there any php
function(s)
> that could assist in doing this?
>
> All I can think of so far is storing the original file in a hard to guess
> directory, when a authenticated customer goes to download it, send them to
a
> script that copys the original file to a temp directory, they download the
> file in the temp directory and then run a cron every so many minutes to
> clear out the files in the temp directory.
>
> If anyone has any ideas, examples or a way to improve on what I came up
with
> please respond. Thanks!
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>