Maldiv wrote:

Hello,



hi

I want to make a password protected download possibility on my site. I know
how can I handle normal user login, but how can I protect a download from
guests?


This question has been often asked in the past, the archives are rich with solutions. One solution is NOT to create a direct download link but to deliver the file via a php script (fpassthru) that can check login status. Another is to use .htpasswd protection you will find lots of details in the archives.

--
Raditha Dissanayake.
---------------------------------------------
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to