[Mono-list] how to do proper role based authentication in web apps

RoBiK robik@mailbox.sk
Fri, 4 Jun 2004 12:47:07 +0200


Hi Guys!

You complicate it too much. If i do understend it right, you want forms
authentication, but not using the credentials stored in the config file.
What you want is customized authentication method (other store for
credentials and/or other credentials-chceking method, maybe also custom role
based security).

Check this article: 

Part 1:
http://www.ondotnet.com/pub/a/dotnet/2004/02/02/effectiveformsauth.html
Part 2: http://www.ondotnet.com/pub/a/dotnet/2004/02/16/formsauthpt2.html

Theese articles guides you step by step from the simlest customization to
the full-blown custom authentication and authorization.

May the source be with you! :)

RoBiK





-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of DI Mag. Rainer
Burgstaller
Sent: Freitag, 04. Juni 2004 11:20
To: Peter Foley
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] how to do proper role based authentication in web
apps

On Fri, 4 Jun 2004 16:20:16 +1000, Peter Foley <peter.foley@abs.gov.au>
wrote:

>
>
> Have a look at the Microsoft MSDN site. There is a document there about  
> the
> Providers pattern which is used in ASP.NET 2 for a membership class. It  
> is very
> straightforward to write your own membership class that uses a provider  
> e.g. a
> sql database to store rol info.
>

Hello Peter

thanks for the quick reply.

I think I found the article you mean  
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/htm
l/bucupro.asp).  
Is this functionality already supported by mono / xsp /mod_mono?

I had a quick look at SqlMembershipProvider.cs in mono-0.91 but there all  
functions threw the notimplementedexception. So I guess the answer is no.  
Or is the framework already in place to place in my own MembershipProvider?

Also from a quick glance on the document I am not sure how to integrate  
it. Do I still use the FormsAuthenticationModule or not?
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list