Since you have to work with VB & Perl, you may want to consider an outside solution.
Flicks AuthentiX will allow you to use a db of names and passwords to protect a directory.
Check them out at www.flicks.com
It works pretty well. 
Good luck.
Ember
-----Original Message-----
From: Reynolds, Josh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 8:13 AM
To: PerlWin32Admin
Subject: Authentication and perl question

Hi all, I'm still something of a newbie, so I hope this isn't a dumb question.  I'm running win2k advanced server with activeperl 5.6.1.  What I would like to do is keep a database of usernames and passwords to restrict access to a directory on our website.  So I was thinking I would write a little login page for users to log in with their information and then get access to that directory.  What I would like to do is set the file permissions under that directory so that the anonymous web user can't access them, create a new user and give that user proper access, and use perlscript to process their login from the login page and somehow authenticate them to IIS as the user I want to have access to the directory.  Does that make any sense?
Basically, rather than making a bunch of windows user accounts and using windows authentication to log them in, I want our login script to verify passwords and such, and use some scripting to actually log them into IIS as someone with the right file priviliges.  The reason I want to do this is so people can't link to files under the directory where access is supposed to be restricted.  This is possible, right?
<whisper>
I'll probably have to do this in both perlscript and vbscript at some point, so a couple of vbscript keywords to point me in the right direction would also be appreciated.
</whisper> :)
 
thanks in advance,
 
Josh Reynolds
Multimedia Training Asst.
Multimedia and Technology Unit
 

Reply via email to