usernames+passwords with IIS
Posted on 2002-03-15
I just replaced my Linux server with Win2k adv. server. I'm use to using Apache, so IIS is a little confusing. I have a list of a hundred usernames and passwords. It appers that, with IIS, I won't be able to simply put in a .htacess file in my directory that I want protected on the web. I also definitely don't want to manually create hundreds of real users for authentication. I'm aware that I can encrypt the passwords and keep a list of users and pass's in an Access Database, and using ASP I can authenticate a user that way. However, my understanding is that it won't BLOCK the directory and all subdirectories using ASP. How can I 'emulate' the Apache way of user authentication in IIS. In other words, I want to block the directory unless the user is in my file list containing users and pass's. I want the pop-up username and password prompt also. With ASP, it appears that I'd have to use a form and won't get the prompt.
I also realize that I can install Apache for Windows. I don't really want to do that because I got away from Linux for a reason. I like the integrated environment of Windows.
Any suggestions would be greatly appreciated. Thanks!