1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<authentication mode="Forms">
<forms name="CookName" protection="All" timeout="20" loginUrl="Default.aspx">
<credentials passwordFormat= "Clear">
<user name="admin" password="pass"/>
</credentials>
</forms>
</authentication>
<!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<allow users="admin"/>
<deny users="?"/>
</authorization> |
Partager