Sorry, but I can't reply to the list from work.
Anyway, here's a link to a good explanation of it all -
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
It's the server which senses that the request is for a 'protected' directory
and responds with an authentication challenge. Upon reciept of that
challenge the browser displays the familiar login prompt box.
Once authenticated, the username is available in the REMOTE_USER environment
variable.
That's the name you can use to look up further info in the database.
Good luck, Steve
Thanks Steve, but that doesn't do what I need (as posted in my other emails), unless I haven't fully understood the flexibility and power of .htaccess.
I have read a fair amount of Apache docs and tutorials, as well as docs for various CPAN modules... the closest "tutorial" for doing what I want was on CGI::Session::Cookbook, but that calls for the security subroutine to be called at the top of every script in the directory. I would like this to be done automagically for every file in the directory and all the subdirectories, etc.
I guess what I am looking for is whether it is possible to call a perl script from within .htaccess (and whether that is even a correct way of doing this), and how I can protect my templates (.tmpl) files.
Thanks.
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users