Hi!
Probier mal:
<location path="intern/">
<system.web>

<authentication mode="Forms">
<forms loginUrl="intern/login.aspx" protection="All" timeout="30" path="/" />
</authentication>

<authorization>
<deny users="?" />
<allow users="*" />
</authorization>


</system.web>
</location>

</configuration>

CU
Schmiddl
http://www.drhirn.com/42


Hallo Leute,

ich m�chte in meinem Web ein Unterverzeichnis mittels FormAuthentication
sch�tzen. Dazu habe ich folgende Web.Config angelegt:

<configuration>

hier oben steht noch der vom VS.NET generierte Code

<location path="intern/">
<system.web>

<authentication mode="Forms">
<authorization>
<deny users="?" />
</authorization>

<forms loginUrl="intern/login.aspx" protection="all" timeout="30" path="/" />
</authentication>

</system.web>
</location>

</configuration>

Nur leider funktioniert das nicht. Ich habe eine Datei in das Verzeichnis
intern gelegt welche ich ohne redirect auf intern/login.aspx erreichen kann.
Normalerweise sollte ja dann, bei nicht Authorizierung, eine Umleitung auf
die Login Page erfolgen. Geht aber nicht.

Kann mir jemand helfen?

Gr��e
Rene
_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net


Antwort per Email an