|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Session Authentication AuthorizationHI 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 .. 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 -- Show quoteHide quoteCo-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com "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 .. > >
Other interesting topics
Is this static method threadsafe?
ASP.Net prefers Firefox? How to I know the previous page is clicked to forward the current page? Compiler Error: [No relevant source lines] output cache question PLS HELP: Simple adding data to db in ASP.NET 2.0 How to I know the previous page is clicked to forward the current page? VWD 2005 Express: "copy web site" creates multiple publishform (2.0) Trap the Maximum request length Prerender changes get lost after Page.RenderControl |
|||||||||||||||||||||||