Hallo,

Forms-Authentication:
<configuration>
<appSettings>
.
.
.
</appSettings>

<system.web>
.
.
.
<authentication mode="Forms" >
<forms  name="mylogin" loginUrl="mylogin.aspx" protection="All" path="/"
timeout="30">

<credentials passwordFormat="Clear">
<user name="myUserGroup" password="CABA0E5D407E33C41FD7F169EADA506FCE576C8D"
/>
</credentials>
</forms>
</authentication>
.
.
.
</system.web>

<location path="mysecuredpath">
        <system.web>
                <authorization>
                        <allow users="USERGROUP" />
                        <deny users="*" />
                </authorization>
        </system.web>
</location>
</configuration>


--> wobei unter <location> dann deinem zu schützenden Verzeichnis die
Berechtigungen zuweisen kannst


Grüße Eric



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Im Auftrag von Drescher-Hackel Rene IT133 (ext)
Gesendet: Donnerstag, 1. September 2005 18:36
An: [email protected]
Betreff: [CSharp.net] webconfig

Was muss ich in der webconfig einstellen, wenn ich für ein bestimmtes
Unterverzeichnis eine Userauthentifizierung haben möchte.

User Liste ist klar - nur wo/wie wird das mit dem Verzeichnis gemacht?

Danke

Rene
_______________________________________________
CSharp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/csharp.net

_______________________________________________
CSharp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/csharp.net

Antwort per Email an