RE: [PHP] password protect a pdf
| From: | Roger B.A. Klorese | Date: | Wed, 25 Feb 2004 00:01:21 +0000 |
| Subject: | RE: [PHP] password protect a pdf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178790@lists.php.net to get a copy of this message | ||
> I'm trying to password protect an online PDF file. I know
> how to use PHP to
> pw protect a webpage, but what would be the best way to
> protect access to a
> nonwebpage file?
Stick it in its own directory and use htaccess... Or password-protect it
when you generate it.