-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathweb.config
151 lines (150 loc) · 6.17 KB
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version="1.0"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<appSettings>
<add key="CKEditor:BasePath" value="~/ui/js/ckeditor"/>
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
<buildProviders>
<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider"/>
</buildProviders>
</compilation>
<authentication mode="Forms">
<forms loginUrl="~/login.aspx" name=".nitinprakasha41"/>
</authentication>
<membership>
<providers>
<clear/>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="bti420_121a41ConnectionString1" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
</providers>
</membership>
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" connectionStringName="bti420_121a41ConnectionString1" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</profile>
<roleManager enabled="true">
<providers>
<clear/>
<add name="AspNetSqlRoleProvider" connectionStringName="bti420_121a41ConnectionString1" applicationName="/" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
<add name="AspNetWindowsTokenRoleProvider" applicationName="/" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</roleManager>
</system.web>
<connectionStrings>
<add name="bti420_121a41ConnectionString1" connectionString="Data Source=mssql.warp.senecac.on.ca;Initial Catalog=bti420_121a41;Persist Security Info=True;User ID=bti420_121a41;Password=cbHG2732;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
<add name="ModelContainer" connectionString="metadata=res://*/App_Code.Model.csdl|res://*/App_Code.Model.ssdl|res://*/App_Code.Model.msl;provider=System.Data.SqlClient;provider connection string="Data Source=mssql.warp.senecac.on.ca;Initial Catalog=bti420_121a41;Persist Security Info=True;User ID=bti420_121a41;Password=cbHG2732;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
<add name="assignmentEntities" connectionString="metadata=res://*/App_Code.Model.csdl|res://*/App_Code.Model.ssdl|res://*/App_Code.Model.msl;provider=System.Data.SqlClient;provider connection string="Data Source=mssql.warp.senecac.on.ca;Initial Catalog=bti420_121a41;Persist Security Info=True;User ID=bti420_121a41;Password=cbHG2732;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient"/>
</connectionStrings>
<location path="private">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<location path="admin">
<system.web>
<authorization>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="private">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<location path="student">
<system.web>
<authorization>
<allow roles="Student"/>
<allow roles="Author"/>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="private">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<location path="staff">
<system.web>
<authorization>
<allow roles="Staff"/>
<allow roles="Author"/>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="private">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<location path="author">
<system.web>
<authorization>
<allow roles="Author"/>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="private">
<system.web>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
</location>
<location path="public">
<system.web>
<authorization>
<allow roles="Public"/>
<allow roles="Author"/>
<allow roles="Administrator"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<system.net>
<mailSettings>
<smtp from="nprakashpanicker@learn.senecac.on.ca">
<network host="host" userName="bti420_121a41" password="cbHG2732" defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>
<system.web>
<siteMap defaultProvider="publicProvider" enabled="true">
<providers>
<clear/>
<add name="studentProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="student_Web.sitemap" securityTrimmingEnabled="true"/>
<add name="staffProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="staff_Web.sitemap" securityTrimmingEnabled="true"/>
<add name="publicProvider" type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>
<add name="admin" type="System.Web.XmlSiteMapProvider" siteMapFile="admin_Web.sitemap" securityTrimmingEnabled="true"/>
<add name="author" type="System.Web.XmlSiteMapProvider" siteMapFile="author_Web.sitemap" securityTrimmingEnabled="true"/>
</providers>
</siteMap>
</system.web>
</configuration>