Forum Moderators: coopster & phranque

Message Too Old, No Replies

IISPassword, IIS 6 and Perl CGI

         

cochranrg

8:07 pm on Feb 16, 2006 (gmt 0)

10+ Year Member



After dealing with Microsoft 2003 and IIS 6 for a number of months now I am completely frustrated with the way it deals with passwords. The ASP programs for users to change passwords etc. simply do not work. I have recently come across a program called IISPassword from Troxo. This looks great as it uses the Apache htaccess type password routines. My problem is, I have never administered an Apache website and don't know how to use these tools. Some of the simple questions I have are:

Can a user change his/her own password?
Can you set time limits or dates for mandatory password change?
How can I use Perl CGI to administer the passwords?

Any or all help will be greatly appreciated!

Rob

perl_diver

6:51 am on Feb 17, 2006 (gmt 0)

10+ Year Member



Normally a user can not change their name/password with htaccess, but you can use a perl script to allow them to change them even if using htacess. As far as time limits you would have to use a seperate file to store the time data in and check against that file to see if the time has expired, you could use a text file or a database for that. In fact, if you are going to use perl you can just skip using htacess completely and go with text files or a database to store the user information.

cochranrg

9:10 pm on Feb 17, 2006 (gmt 0)

10+ Year Member



Thanks for the info. I am working on a script now to do that.

Can you help me with a quick one though? How do I get the server variable HTTP_IISPWD_USER returned in a perl script?

Thanks
Rob

perl_diver

10:00 pm on Feb 17, 2006 (gmt 0)

10+ Year Member



IIS is totally out of my experience, but maybe it's in the environment variables :

my $IISPWD_USER = $ENV{'HTTP_IISPWD_USER'};

cochranrg

10:22 pm on Feb 17, 2006 (gmt 0)

10+ Year Member



Perl_diver, you are so da' expert! It works. Thanks for the quick reply. (So glad I found this website!)

Rob

perl_diver

12:41 am on Feb 18, 2006 (gmt 0)

10+ Year Member



Ha! It was a lucky guess. Glad it worked. :)