I have a .net web app running on iis7 (windows 2008) and want to add some simple protection to it.

I've managed to set up BASIC authentication, but cant work out where I set the username/passwords that are allowed to access the resource

  • 1
    Exactly same question on stackoverflow. I'm sure it will be helpful.
    – RBT
    Aug 18, 2017 at 7:05

1 Answer 1


Out of the box these would need to be Windows 2008 accounts.

If you wanted to use a custom store (SQL Server, Membership Service) then you'd need to write your own Basic Authentication module:

Developing a Module Using .NET

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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