Mega Code Archive

 
Categories / ASP.Net Tutorial / Configuration
 

Denying all users through the web config file

<configuration>      <system.web>        <authentication mode="Windows" />        <authorization>           <deny users="*" />        </authorization>     </system.web> </configuration>