in reply to help with security info for web content
If you're going to wrap serving the files in a Perl script, use cookies (stored in DB with username) to validate rather than password lookup for each page request. Something like this:
but it's hard to comment without seeing some code.my $q=CGI->new(); if ($q->cookie('sessioncookie') { # check cookie exists in DB # serve page requested } elsif ($q->param('username')) { # check password OK, set session cookie # and store cookie in DB } else { # show login form }
.02
cLive ;-)
|
|---|