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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php