[Mono-dev] ASP.NET Forms Authentication
Gonzalo Paniagua Javier
gonzalo at novell.com
Sun Dec 31 15:17:12 EST 2006
On Fri, 2006-12-29 at 19:20 +0200, Piotr Stulinski wrote:
> 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.
Can you report this 2 problems in bugzilla.ximian.com? Please, attach a
small, self-contained test case so that we can reproduce the problem and
debug it.
Both problems seem easy to fix if you help us by providing a test case.
Thanks!
-Gonzalo
More information about the Mono-devel-list
mailing list