IISPassword can play well with others

Posted By: Mark Aplet 7 Comments August 14, 2008

In my last post I mentioned briefly that I was having a lot of problems for a few days with my site not responding, being locked out, or not linking to articles. I had a heck of a time chasing down the problem. I eventually did  figure it out. The solution is pretty easy but certainly was not too obvious at first.

I am using ISAPI_Rewrite 3.0 for url rewriting. Then needed to add password protection to a folder. I hate creating accounts on windows as it's such a pain in the ass. I really liked IISPassword by IIS Tools. Unfortunately, both programs use an .htaccess file and neither one understand each other. Every time I changed one setting, it would overwrite the .htaccess file and  this went back and forth for a few days.

There is a solution and I think it's pretty easy to make both applications work in harmony. IISPassword allows you to change the file where the settings are stored. They must have anticipated these types of issues and accounted for it.

To change the file used by IISPassword, simply follow these steps.

  1. stop the IIS server. Open the IIS Manager
  2. Select your "Web Sites" node and right click to open it's properties.
  3. Select the tab for IISPassword.
  4. Check the radio button for "Create new". In the textfield for "Access File Name" change the file to .iispassword
  5. Click the change button. Give it a moment to propagate for all your sites.
  6. Start IIS and thats it.

It's so easy but the docs don't mention anything about it. So if you need to password protect a folder through the system then IISPassword is a really great application and easy to use baring any issues with other .htaccess files.

Tags: General · Software

7 comments so far ↓

  • 1 Adam Tuttle // Aug 18, 2008 at 8:00 AM
    That's a great find, thanks for posting it!
  • 2 Daniel Tallentire // Aug 22, 2008 at 8:21 AM
    Thanks Mark - I've updated the IISPassword help for the next release to document this feature for ISAPI_Rewrite users.
  • 3 Mark Aplet // Aug 29, 2008 at 11:59 AM
    Wow Daniel, that was a fast response! I hope it will make a difference for someone in the future. :)
  • 4 Mark // Aug 29, 2008 at 3:48 PM
    :) I search for IISPassword on google every now and again to check the forums etc for posts - your blog is on the first page on a search for IISPassword!

    Hopefully it'll help out.... I'm going to re-do the help docs anyway as they aren't very comprehensive on the whole thing.
  • 5 Stuart Whitman // Jun 25, 2009 at 6:35 AM
    Great post thanks Mark. Just saved me a whole heap of time after searching for the last 1hr.
  • 6 Mark Aplet // Jun 25, 2009 at 8:07 AM
    That's great Stuart. Glad it helped.
  • 7 James // Nov 4, 2009 at 4:55 PM
    Thank you sir!

    PS... I had to restart IIS to get it to work.

Leave a Comment

Leave this field empty:

Theme Design By Mark Aplet

Super Powered by Mango Blog

inorganic