Windows 7 Home Premium changes for IIS 7.5 access of Users directories
Not feeling much like debugging it too much, I made a couple of modifications to my IIS installation to allow access to files contained within my user directory.
I turned the Internet Information Services feature on on my Windows 7 Home Premium machine before using the Web Platform Installer to add additional functionality. However, I kept running into a permissions issue, as the sites I setup were located in my Users directory (C:\Users\James).
A couple of possible options exist, including giving the user that the application pool runs as full access to the appropriate directory. However, to some extent this circumvents security on my laptop.
Another option is to use Windows authentication. To this end it needs to be enabled by checking the feature of Internet Information Services > World Wide Web Services > Security > Basic Authentication.
Additional setup and result
Additionally default rights must be given to the local IIS_IUSRS group, so that it can access the Web.config file.
Now when I browse to the site I'm prompted for credentials, which is the same information I use to login to my machine.
Putting the content into a directory with the appropriate permissions (%SystemDrive%\inetpub\wwwroot) may be better, but this works just fine for the limited testing I need to perform.
Support This Site
If my blog was helpful to you, then please consider visiting my Amazon Wishlist.