Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have enable basic authentication for my website. but i want to use user name : "basic" and password: "ABCD1234". anyone know how can i setup username and password basic authentication on iis7.

share|improve this question

migrated from Aug 21 '09 at 5:05

This question came from our site for professional and enthusiast programmers.

Setup an Windows account on the server (or a domain account if you'll have lots of web servers) with that username and password. Make sure that Windows account has rights to the files/folders that it'll be viewing on the website.

share|improve this answer
  1. add windows user account
  2. set the password never expires

open iis and go to your web site directory

  1. add .net authoization rules allow your added users
  2. disable anonymous authentication
  3. enable basic authentication
share|improve this answer

Your Answer


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.