Monday 23 April 2018

Authentication on IIS Web Site

Sometimes you need to apply authentication on IIS Web sites as you want only those users can connect to whom you have given access via user name and password. These users may be from domain or local users on local machine i.e IIS Web Server.

1) For this you need to open IIS Manager from Server Manager --> than Tools --> than Internet Information (IIS) Manager. After opening IIS you will see following window. I have done this Authentication with "Default Web Site", you can see in image below;






2) When you click on "Default Web Site" under "Sites" in left pane, you can see all relevant attributes in center pane related to "Default Web Site". We need to change in "Authentication" here, you can see figure below;


3) You need to double click on "Authentication" option and you will see further options in same pane showing below. Here you have to disable "Anonymous Authentication" and enable "Basic Authentication" for your required task to achieve.

4) Now go to browser and you open web site and press refresh button and you will see pop up window for "Username" and "Password" which you will provide and get access to the web site other you will not get into the web site. This "Username" and "Password" can be from your Active Directory or local machine.




No comments:

Post a Comment