ASP.NET Windows Authentication ( non-Membership ) 設定

ASP.NET Windows Authentication ( non-Membership ) 設定

 

 

   web.conf
 
   <system.web>
 
      <compilation debug="true" targetFramework="4.0" />
 
      <authentication mode="Windows"/>
 
      <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
 
      <authorization>
         <allow users="DEISLER\lcadmin, DEISLER\lcuser2" />
         <deny users="*" />
      </authorization>
 
   </system.web>