Dennisaa

web.config - 1

May 18th, 2015
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.93 KB | None | 0 0
  1. <configuration>
  2.    <configSections>
  3.       <sectionGroup name="system.net">
  4.          <section name="authenticationModules"
  5.            type="System.Net.Configuration.NetAuthenticationModuleHandler,
  6.            System, Version=1.0.3300.0, Culture=neutral,
  7.            PublicKeyToken=b77a5c561934e089"/>                              
  8.          <section name="webRequestModules"
  9.            type="System.Net.Configuration.WebRequestModuleHandler,
  10.            System, Version=1.0.3300.0, Culture=neutral,
  11.            PublicKeyToken=b77a5c561934e089"/>
  12.        </sectionGroup>
  13.  
  14.        <sectionGroup name="system.web">
  15.           <section name="authorization"
  16.             type="System.Web.Configuration.AuthorizationConfigHandler,
  17.             System.Web, Version=1.0.3300.0, Culture=neutral,
  18.             PublicKeyToken=b03f5f7f11d50a3a"/>            
  19.           <section name="sessionState"
  20.             type="System.Web.SessionState.SessionStateSectionHandler,
  21.             System.Web, Version=1.0.3300.0, Culture=neutral,
  22.             PublicKeyToken=b03f5f7f11d50a3a"
  23.             allowDefinition="MachineToApplication"/>        
  24.        </sectionGroup>
  25.     </configSections>
  26.  
  27.    <system.net>
  28.       <!--Net Class Settings would go here. -->
  29.    </system.net>
  30.    <system.web>
  31.         <authorization>
  32.             <allow users="*"/> <!-- Allow all users -->
  33.             <!-- Allow or deny specific users.
  34.            allow users="[comma separated list of users]"
  35.                  roles="[comma separated list of roles]"/>
  36.            <deny users="[comma separated list of users]"
  37.                  roles="[comma separated list of roles]"/>
  38.            -->
  39.         </authorization>
  40.         <sessionState
  41.            sqlConnectionString="data source=localhost;
  42.               Integrated Security=SSPI;
  43.               Initial Catalog=northwind"
  44.            cookieless="false"
  45.            timeout="10"/>
  46.    </system.web>
  47. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment