PDA-Bank-Cards-Info

Форк
0
/
web.config 
132 строки · 5.6 Кб
1
<?xml version="1.0"?>
2
<!-- 
3
    Note: As an alternative to hand editing this file you can use the 
4
    web admin tool to configure settings for your application. Use
5
    the Website->Asp.Net Configuration option in Visual Studio.
6
    A full list of settings and comments can be found in 
7
    machine.config.comments usually located in 
8
    \Windows\Microsoft.Net\Framework\v2.x\Config 
9
-->
10
<configuration>
11
	<!-- DE -->
12
	<appSettings>
13
		<add key="Logo" value="Банк"/>
14
		<add key="Phone" value="+7(812)32X-XX-XX"/>
15
		<add key="Phone2" value="+7(812)32X-XX-XX"/>
16
		<add key="Phone3" value="+7(812)96X-XX-XX"/>
17
		<add key="EmailFrom" value="admin@bank.ru"/>
18
		<add key="EmailCC" value="admin@bank.ru"/>
19
		<add key="EmailRegExp" value="[a-zA-Z_0-9.-]+\@[a-zA-Z_0-9.-]+\.\w+"/>
20
		<add key="LAN" value="192.168.1."/>
21
	</appSettings>
22
	<connectionStrings>
23
		<remove name="LocalSqlServer"/>
24
		<add name="ConnectionDataMart" connectionString="Data Source=XXX\SQLEXPRESS;Initial Catalog=bank_datamart;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
25
		<add name="ConnectionUsers" connectionString="Data Source=XXX\SQLEXPRESS;Initial Catalog=aspnetdb;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
26
	</connectionStrings>
27
	<system.web>
28
		<!-- 
29
        Set compilation debug="true" to insert debugging 
30
        symbols into the compiled page. Because this 
31
        affects performance, set this value to true only 
32
        during development.
33
    -->
34
		<!-- DE -->
35
		<membership>
36
			<providers>
37
				<remove name="AspNetSqlMembershipProvider"/>
38
				<add connectionStringName="ConnectionUsers" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
39
			</providers>
40
		</membership>
41
		<globalization requestEncoding="windows-1251" responseEncoding="windows-1251" culture="ru-RU" uiCulture="ru"/>
42
		<compilation debug="true" defaultLanguage="c#" targetFramework="4.0">
43
		</compilation>
44
		<!--
45
        The <authentication> section enables configuration 
46
        of the security authentication mode used by 
47
        ASP.NET to identify an incoming user. 
48
    -->
49
		<!-- DE -->
50
		<authentication mode="Forms">
51
			<forms loginUrl="login.aspx" defaultUrl="cards.aspx"/>
52
		</authentication>
53
		<authorization>
54
			<deny users="?"/>
55
		</authorization>
56
		<roleManager enabled="true">
57
			<providers>
58
				<!-- DE -->
59
				<remove name="AspNetSqlRoleProvider"/>
60
				<add connectionStringName="ConnectionUsers" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
61
			</providers>
62
		</roleManager>
63
		<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
64
			<providers>
65
				<!-- DE -->
66
				<add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>
67
			</providers>
68
		</siteMap>
69
		<profile>
70
			<providers>
71
				<!-- DE -->
72
				<remove name="AspNetSqlProfileProvider"/>
73
				<add name="AspNetSqlProfileProvider" connectionStringName="ConnectionUsers" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
74
			</providers>
75
			<properties>
76
				<!-- 
77
        <add name="Theme" type="string" defaultValue="CibankDefault" />
78
        <add name="PageSizePDA" type="Int32" defaultValue="5" />
79
        <add name="PageSize" type="Int32" defaultValue="30" />
80
        <add name="ScreenWidth" type="Int32" defaultValue="220" />
81
        -->
82
			</properties>
83
		</profile>
84
		<!--
85
            The <customErrors> section enables configuration 
86
            of what to do if/when an unhandled error occurs 
87
            during the execution of a request. Specifically, 
88
            it enables developers to configure html error pages 
89
            to be displayed in place of a error stack trace.
90

91
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
92
            <error statusCode="403" redirect="NoAccess.htm" />
93
            <error statusCode="404" redirect="FileNotFound.htm" />
94
        </customErrors>
95
        -->
96
		<!-- DE -->
97
		<customErrors defaultRedirect="~/Error.htm"/>
98
		<!-- DE
99
    <healthMonitoring>
100
      <providers>
101
        <add name="CriticalMailEventProvider"
102
          type="System.Web.Management.SimpleMailWebEventProvider"
103
          from="admin@bank.ru"
104
          to="DE@bank.ru"
105
          bodyHeader="Warning on the PDA Site!"
106
          bodyFooter="Please help..."
107
          subjectPrefix="Action required."/>
108
      </providers>
109
      <rules>
110
        <add name="All Errors by Email"
111
          eventName="All Errors"
112
          provider="CriticalMailEventProvider"/>
113
      </rules>
114
    </healthMonitoring>
115
    -->
116
		<!-- DE -->
117
		<pages theme="CibankDefault" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
118
		</pages>
119
	</system.web>
120
	<!-- 
121
        The system.webServer section is required for running ASP.NET AJAX under Internet
122
        Information Services 7.0.  It is not necessary for previous version of IIS.
123
    -->
124
	<!-- DE -->
125
	<system.net>
126
		<mailSettings>
127
			<smtp from="Bank PDA" deliveryMethod="Network">
128
				<network host="smtp.bank.ru" password="********" userName="bot@bank.ru"/>
129
			</smtp>
130
		</mailSettings>
131
	</system.net>
132
</configuration>
133

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.