Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 695
  • Last Modified:

IIS 7 Basic Auth keeps asking for password

I am trying to set up Basic Authentication for an IIS 7 ASP.NET web site running on Server 2008 R2

I have enabled Basic Authentication in IIS and disabled Anonymous authentication
I have created a 'local' user account on the server and given it full access to the sites folder but whenever I try to access the site it just keeps prompting for the username and password

What am I missing?
0
BrianFord
Asked:
BrianFord
  • 2
  • 2
1 Solution
 
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
If you have disabled anonymous authentication and enable Basic Authentication, you will ot be able to access the website without a password.
Use the local account that you set up to access the website and for his account o work you need to add it to the IUSR_XXXX group.

I hope this helps.


Regards
0
 
BrianFordAuthor Commented:
I think I'm missing the last bit, adding the user to the IUSR group, I'll give that try tomorrow

thanks
0
 
Dan McFaddenSystems EngineerCommented:
Of course, you Enabled Basic authentication, therefore IIS has an expectation that a user hitting the website will enter valid user credentials.

1.  What is this for an application?
2.  What are you trying to accomplish by enabling basic auth?
2.  What does the site do?

BTW, adding a user to the IIS group doesn't buy much in way of functionality or access unless that group is used for controlling NTFS permissions and anything in the application that has permissions assigned to it.

Dan
0
 
Dan McFaddenSystems EngineerCommented:
Any additional info?

Dan
0
 
BrianFordAuthor Commented:
Adding to the IUSR group worked
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now