Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

What do I need to do in Windows Server 2008 to restrict access to a website (or directory in the website) to only certain users?

share|improve this question

3 Answers 3

NTFS permissions will take precedence over the site/virtual directory's permissions if they're more restrictive: http://technet.microsoft.com/en-us/library/cc739391(WS.10).aspx

share|improve this answer

IIS can restrict websites to an IP address or range of addresses, this is useful for making a website visible to an entire office (eg, a development website restricted to your own, and your clients office IP ranges)

http://technet.microsoft.com/en-us/library/cc730889%28WS.10%29.aspx

This isn't really authentication as such, but is often quicker and easier to setup, but it's less secure (IP's can be spoofed).

share|improve this answer
up vote 0 down vote accepted

I enabled Basic Authentication and disabled Anonymous Authentication. I created a user with read and write permissions on the folder. The created user's credentials are what I use to view the website.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.