Home All Groups Group Topic Archive Search About

Session Authentication Authorization

Author
14 Jan 2006 6:34 AM
jack
HI i have tried different types of form based authentications but im
not able to get how to make a  session level authorization.
im a begginer
and im not able to make that difference off like what is form based
authentication and form based authorization
please help me in undestanding the difference between these two.
Thanks for replying me ..

Author
14 Jan 2006 3:20 PM
Peter Bromberg [C# MVP]
Jack,

Authentication=that you are who you say you are
Authorization = what we allow you to do now that we know who you are

Authorization is handled via the Role object in Forms Auth. You can for
example say,

If(User.IsInRole("Administrator")
{
// your cool code here
}

Hope that helps.

--Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




Show quoteHide quote
"jack" wrote:

> HI i have tried different types of form based authentications but im
> not able to get how to make a  session level authorization.
> im a begginer
> and im not able to make that difference off like what is form based
> authentication and form based authorization
> please help me in undestanding the difference between these two.
> Thanks for replying me ..
>
>
Are all your drivers up to date? click for free checkup

Author
16 Jan 2006 3:52 AM
jack
Thanks
Peter Bromberg
Had tried these form of authentication with reference of web articles
Thanks any way

Bookmark and Share