Re: Encrypted URL links?
| From: | David Otton | Date: | Thu, 20 Feb 2003 13:58:26 +0000 |
| Subject: | Re: Encrypted URL links? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136355@lists.php.net to get a copy of this message | ||
On Thu, 20 Feb 2003 06:20:26 -0500, you wrote:
>Is there a way to encrypt a URL that will still work when clicked on, BUT
>not show the customer where the file actually resides?
It's not possible to "encrypt a URL" and leave it readable. URLs are
plaintext.
>Is it also possible to have it expire after a given amount of time?
Ideally I would place the file to be downloaded in a directory protected
by Basic Authentication, then manage the .htpasswd file so logins
expire.
There are other ways, but I think this is the simplest/most secure.