Session Authentication Authorization

J

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 ..
 
G

Guest

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
 
J

jack

Thanks
Peter Bromberg
Had tried these form of authentication with reference of web articles
Thanks any way
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top