Use Roles with Forms auth ans SQL?
From: Guogang (huguogang@email.com)
Date: 02/20/03
- Previous message: Mike Moore [Microsoft]: "RE: PKCS Certificates"
- In reply to: |{evin: "Use Roles with Forms auth ans SQL?"
- Next in thread: Ramiro Calderon Romero: "Re: Use Roles with Forms auth ans SQL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Guogang" <huguogang@email.com> Date: Wed, 19 Feb 2003 18:22:16 -0800
insert this into web.config in your admin folder:
<authorization>
<allow roles="admin"/>
</authorization>
>-----Original Message-----
>
> Greetings, I've been googling for about an hour
now and I
>think I may be more confused than when I started. What
I'd like to be
>able to do is (for simplicity's sake) the following:
>
>Have a SQL table, say 3 fields.. username, password, role
>Have 2 subdirectories.. say manage_tickets and user_maint
>
>Is it possible (and if so, some links or code snippets
would be
>greatly appreciated) to be able to say that only people
in the
>'technician' or 'admin' roles have access to
the 'manage_tickets'
>folder and that only the 'admin' role has access to
the 'user_maint'
>folder?
>
>I'd like to be able to manage user account from within
the app, so
>hard-coding user names into the web.config looks to be
out. I want to
>be able to create a record in
SQL 'bob', 'mypassword', 'technician'
>and poof! 'bob' has access to 'manage_tickets'.
>
>Maybe I should go have some coffee....
>
>.
>
- Next message: Ramiro Calderon Romero: "Re: Use Roles with Forms auth ans SQL?"
- Previous message: Mike Moore [Microsoft]: "RE: PKCS Certificates"
- In reply to: |{evin: "Use Roles with Forms auth ans SQL?"
- Next in thread: Ramiro Calderon Romero: "Re: Use Roles with Forms auth ans SQL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|