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

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 stackoverflow.com Aug 21 '09 at 5:05

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

2 Answers 2

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

 
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.