Web.config 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0"?>
  2. <!--
  3. Pour plus d'informations sur la configuration de votre application ASP.NET, consultez
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <connectionStrings>
  8. <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
  9. </connectionStrings>
  10. <appSettings>
  11. <add key="ConnexionStringSic" value="Data Source=MSSQL-02\SQLSTD2K14;Initial Catalog=TSic;User Id=UserTSicRW;password=K5dkV6FXgZ2Q"/>
  12. <!-- <add key="ConnexionStringOracleCollege" value="Data Source=PCOL;User Id=college;Password=college;"/> -->
  13. <add key="ConnexionStringAccess" value="Provider=microsoft.jet.oledb.4.0;Data Source=\\Moder\App_production\College\data\Base\BD Collège_prod.mdb;Persist Security Info=False;"/>
  14. <add key="ConnexionStringOracleSubvention" value="Data Source=SGFP;User Id=ASTRE;Password=ASTRE;"/>
  15. <add key="ConnexionStringOracleAstreGF" value="Data Source=SGFP;User Id=SO;Password=SO;"/>
  16. <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
  17. <add key="AnneeEnCours" value="2015"/>
  18. <add key="FileRepository" value="\\public\publicno\J-MESJ\J4-SIM\J440-SGEPI\PPM\Fichiers DSI (fiches collèges)\"/>
  19. <add key="ImpersonationUser" value="service.college"/>
  20. <add key="ImpersonationPassword" value="2sr72297rN7BzX8QB48t"/>
  21. <add key="ImpersonationDomain" value="cg67"/>
  22. </appSettings>
  23. <system.web>
  24. <httpHandlers>
  25. <add path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" />
  26. <add path="file.download" validate="false" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
  27. </httpHandlers>
  28. <compilation debug="true" targetFramework="4.0"/>
  29. <authentication mode="Windows" />
  30. <membership>
  31. <providers>
  32. <clear/>
  33. <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
  34. </providers>
  35. </membership>
  36. <profile>
  37. <providers>
  38. <clear/>
  39. <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  40. </providers>
  41. </profile>
  42. <roleManager enabled="false">
  43. <providers>
  44. <clear/>
  45. <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  46. <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
  47. </providers>
  48. </roleManager>
  49. <authorization>
  50. <allow roles="CG67\GS - Fiches collèges - exception" />
  51. <deny roles="CG67\GS - Fiches collèges - exclusion" />
  52. <allow roles="CG67\GS - Fiches collèges" />
  53. <deny users="*" />
  54. </authorization>
  55. </system.web>
  56. <system.webServer>
  57. <modules runAllManagedModulesForAllRequests="true"/>
  58. <handlers>
  59. <add name="HttpHandlerHistogramme" path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" allowPathInfo="false" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v4.0.30319\aspnet_isapi.dll"
  60. resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"/>
  61. <add name="FileDownloadHandler" path="file.download" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" />
  62. </handlers>
  63. <httpErrors errorMode="DetailedLocalOnly">
  64. <remove statusCode="401" subStatusCode="-1" />
  65. <error statusCode="401" prefixLanguageFilePath="" path="/errors/unauthorized.html" responseMode="ExecuteURL" />
  66. </httpErrors>
  67. <!--<staticContent>
  68. <mimeMap fileExtension="" mimeType="" />
  69. </staticContent>-->
  70. </system.webServer>
  71. </configuration>