Re: Password protect binary files on database.
| From: | Justin French | Date: | Mon, 21 Oct 2002 01:42:02 +0000 |
| Subject: | Re: Password protect binary files on database. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120693@lists.php.net to get a copy of this message | ||
Hint: What you're really doing is password protecting the HTML/PHP page
which enables the download of the file through PHP/MYSQL.
There are 1000's of articles on that topic... in particular, Kevin Yank's
article at sitepoint was the basis for my code.
http://www.webmasterbase.com/article/319
Adapt to suit :)
Justin
on 21/10/02 8:38 AM, Renato Lopes (renatolopes@mac.com) wrote:
> Hi!
>
> I am currently working on a project that involves uploading binary
> files onto a MySQL database(know that I should be avoiding this, but is
> is one of the requirements of the project).
>
> The binary files then need to be downloaded. Uploading and downloading
> the files, is not a problem.
>
> Now, the problem is that I need to "password protect" this files on the
> database before downloading.
>
> Does anyone know if this if possible, and if it is, point me in the
> right direction?
>
> Thanks
>
> Renato
>