Not sure what's the question or the answer below... but anyway. To
protect your files, store them outside of the webroot or in the database
and use a PHP file to serve them up. The PHP file will check the
authentication or whatever of the user and if it's valid, serve up the
file to them with a proper header() call and sending the data of the
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 09, 2003 9:56 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP-DB] denying access to folders/files
> Gary Every
> Sr. UNIX Administrator
> Ingram Entertainment
> (615) 287-4876
> "Pay It Forward"
> mailto:[EMAIL PROTECTED]
> This is fine and dandy, but how do I prevent that person from taking
> direct link to the file and giving it to someone else?
> I'm sure there is a much better and simpler way. Idea's?
> Answer: Use auto_prepend.php to authenticate the user.
> Thanks in advance.
> Darren Bentley <[EMAIL PROTECTED]>
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php