Web.config 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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=T-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="2016"/>
  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. <!-- Configuration de l'accès LDAP -->
  23. <add key="USER-LDAP" value="lecturead" />
  24. <add key="MDP-LDAP" value="Adlecture!" />
  25. </appSettings>
  26. <system.web>
  27. <httpHandlers>
  28. <add path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" />
  29. <add path="file.download" validate="false" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
  30. </httpHandlers>
  31. <compilation debug="true" targetFramework="4.0"/>
  32. <authentication mode="Windows" />
  33. <membership>
  34. <providers>
  35. <clear/>
  36. <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="/"/>
  37. </providers>
  38. </membership>
  39. <profile>
  40. <providers>
  41. <clear/>
  42. <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  43. </providers>
  44. </profile>
  45. <roleManager enabled="false">
  46. <providers>
  47. <clear/>
  48. <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  49. <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
  50. </providers>
  51. </roleManager>
  52. <authorization>
  53. <allow roles="CG67\GS - Fiches collèges - exception" />
  54. <deny roles="CG67\GS - Fiches collèges - exclusion" />
  55. <allow roles="CG67\GS - Fiches collèges" />
  56. <deny users="*" />
  57. </authorization>
  58. </system.web>
  59. <system.webServer>
  60. <modules runAllManagedModulesForAllRequests="true"/>
  61. <handlers>
  62. <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"
  63. resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"/>
  64. <add name="FileDownloadHandler" path="file.download" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege" allowPathInfo="false" preCondition="integratedMode,runtimeVersionv4.0" />
  65. </handlers>
  66. <httpErrors errorMode="DetailedLocalOnly">
  67. <remove statusCode="401" subStatusCode="-1" />
  68. <error statusCode="401" prefixLanguageFilePath="" path="/errors/unauthorized.html" responseMode="ExecuteURL" />
  69. </httpErrors>
  70. <!--<staticContent>
  71. <mimeMap fileExtension="" mimeType="" />
  72. </staticContent>-->
  73. </system.webServer>
  74. </configuration>