in reply to Passing values to htdigest from command line problem
It looks like you're using some kind of Apache htauth thingy for access control. Frankly, there are better and more secure ways of doing this.
I'd look into putting your usernames and passwords into a database (I'd suggest MySQL) and using perl to validate them. You could use sessions (either CGI::Session or Apache::Session) to keep track of authorization and have each page in the directory check the session to see if the user has been authorized. If you must be registered in order to post, this offers a much better way of keeping track of your users. I'd try and stay away from htdigest, htpass, and .htaccess unless there is no other option.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Passing values to htdigest from command line problem
by Nik (Initiate) on Oct 21, 2006 at 15:16 UTC |