-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWeb.config.authentication
More file actions
39 lines (35 loc) · 1.3 KB
/
Web.config.authentication
File metadata and controls
39 lines (35 loc) · 1.3 KB
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
<?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>
<system.web>
<compilation debug="true" targetFramework="4.0"/>
<authentication mode="Forms">
<!-- name = name of cookie. -->
<forms name="Login form" loginUrl="view/mainmenu/UserLogin.aspx" timeout="1440"/>
<!--
The timeout value is specified in minutes. 20160 says the authentication
times out in 14 days, ie ( 60 * 24 ) * 14.
(1440 = 24 * 60 = 24 hours)
This value also determines how long the authentication cookie, if used,
persists.
-->
<!-- For more information:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetarchitecture.asp
-->
</authentication>
<!-- deny all unauthorized users -->
<authorization>
<deny users="?"/>
</authorization>
</system.web>
<location path="assets">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>
</configuration>