If you are going to use a flatfile, then you have a choice between a DBM file or an XML file. I'd go with XML - then you have all of the Perl XML toys to play with. Store the file outside of the web tree. You could also use DBM files, which are binary, but I don't think that they are encoded.
For the CGI access, you could use HTML::Embperl - it does not require mod_perl to run, you apparently can use it from CGI, and parse the XML file for what you needed. Hell, you could even try using XML::DOM and XML::XQL to query your data (spend the $120 on an extra stick of RAM). You might want to MD5 the password.
Not the most efficient solution, but if you can't use .htaccess, or mod_perl, then that should work.
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen
wisely..."
In reply to Re: CGI Password/Login and Security
by chorg
in thread CGI Password/Login and Security
by r.joseph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |