Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to secure a Single Page in IIS 7.5 with Windows authentication?
Posted

1 solution

To secure a Single Page in IIS 7.5 with Windows authentication simply follow these steps…
1. Open IIS 7 Manager.
2. Click on “Content View “at the bottom of the IIS 7 Manager and navigate to the file you want to password protect.
3. Right click on the target file and choose “Switch to Features View”.
4. Double click on Authentication under IIS Area.
5. Disable “Anonymous Authentication”.
6. And Enable “Windows Authentication”.
You are done...
Now please check the page on which you had set the win Auth. It will ask you for the userId and Password.
 
Share this answer
 
Comments
Bobelle 16-Jun-16 3:28am    
Where is this Setting saved ? There's no entry in web.config visible. So what happens if I distribute the files to another Server ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900