Make the download link a PHP page:

download.php?fileid=199

Then check to make sure there session is valid, and what not
and then use the header function to make the browser know it's supposed
to give a save dialog box. I don't specifically know the code, but I
know this will work.

On Thu, 2002-12-12 at 10:56, Jan Grafström wrote:
Hi,
I have some zipfiles in a directory and wonder how to protect the files?

I send the customer to a downloadpage with links after succsessfull login.

What is best to do? chmod the files when I upload them and change chmod if I
have a verifief user?
Any suggestions?

--
Regards
Jan Grafstrom


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to