Hello CFers and Happy Holidays,
I am moving a web site over from a Linux server over to a
Windows 2000 server. The site was currently password protected via
the oh so familiar .htaccess method on the Linux server. Now that
the site is on IIS on Windows, the .htaccess files don't work.
I have created a MSSQL database with a users table that
contains all of the username and passwords that are allowed to
access the site.
Normally I would just log users in by querying the database,
setting a session variable, and then using application.cfm to check
to make sure the users is logged in. However, in this particualr
site, most of the files are made up of .htm files which do not get
processed by the ColdFusion application.cfm tag.
Several posts indicated that I would need to disable
anonymous access within IIS and then create the individual user
accounts within Administrative Tools > Computer Management >
Users and Groups. However, in this case, I don't want to create
thousands of new users within windows.
Is there a way for me to password protect all files within a
directory while still using the accounts set up in my MSSQL
database for authentication?
Thanks,
David Levin