[Mono-dev] ASP.NET Forms Authentication
Piotr Stulinski
jamjar at gmail.com
Fri Dec 29 12:20:54 EST 2006
Hi
I have a website with forms authentication it works 100% on windows,
when i move it over to mono on linux it doesnt seem to work at all...
A couple of things seem to be broken....
1)in the Web.Config the defaultUrl="Index.aspx" does not seem to be
recognized as part of the authentication forms line.
2) under mono ASP.NET location does not seem to work when restricting
users and roles. So i cant specify different roles for different
folders.....
<location path="secure">
<system.web>
<authorization>
<allow roles="Server_Administrator,Administrator,Auth_Level_0,Auth_Level_1,Auth_Level_2"
/>
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="admin">
<system.web>
<authorization>
<allow roles="Server_Administrator,Administrator" />
<deny users="*,User" />
</authorization>
</system.web>
</location>
Has this not been implemented yet or am i doing something wrong... my
code compiles and works 100% on windows.
More information about the Mono-devel-list
mailing list