|
|
@@ -27,9 +27,7 @@
|
|
|
</httpHandlers>
|
|
|
|
|
|
<compilation debug="true" targetFramework="4.0"/>
|
|
|
- <authentication mode="Forms">
|
|
|
- <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
|
|
|
- </authentication>
|
|
|
+ <authentication mode="Windows" />
|
|
|
<membership>
|
|
|
<providers>
|
|
|
<clear/>
|
|
|
@@ -49,6 +47,11 @@
|
|
|
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
|
|
|
</providers>
|
|
|
</roleManager>
|
|
|
+ <authorization>
|
|
|
+ <allow roles="CG67\GS - Fiches collèges" />
|
|
|
+ <deny roles="CG67\GS - Fiches collèges - exclusion" />
|
|
|
+ <deny users="*" />
|
|
|
+ </authorization>
|
|
|
</system.web>
|
|
|
<system.webServer>
|
|
|
<modules runAllManagedModulesForAllRequests="true"/>
|
|
|
@@ -57,6 +60,10 @@
|
|
|
resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"/>
|
|
|
<add name="FileDownloadHandler" path="file.download" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" />
|
|
|
</handlers>
|
|
|
+ <httpErrors errorMode="DetailedLocalOnly">
|
|
|
+ <remove statusCode="401" subStatusCode="-1" />
|
|
|
+ <error statusCode="401" prefixLanguageFilePath="" path="/errors/unauthorized.html" responseMode="ExecuteURL" />
|
|
|
+ </httpErrors>
|
|
|
<!--<staticContent>
|
|
|
<mimeMap fileExtension="" mimeType="" />
|
|
|
</staticContent>-->
|