Re: password protect a pdf
| From: | Matt Hedges | Date: | Wed, 25 Feb 2004 00:09:12 +0000 |
| Subject: | Re: password protect a pdf | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178792@lists.php.net to get a copy of this message | ||
Thanks, that worked great.
I found this for anyone else like me new to htaccess:
http://www.htmlbasix.com/passwordprotect.shtml
works great.
matt
"Roger B.A. Klorese" <rogerk@queernet.org> wrote in message
news:022501c3fb32$807b0bb0$290aa8c0@corpnet.consera.com...
> > 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.