Re: Custom implementation for User.IsInRole??
From: Daniel Fisher\(lennybacon\) (info_at_(removethis)lennybacon.com)
Date: 12/10/04
- Next message: Daniel Fisher\(lennybacon\): "Re: System.Security.SecurityException: Security error"
- Previous message: Daniel Fisher\(lennybacon\): "Re: connecting VS.NET to IIS-what do I have to do"
- In reply to: Arthur Dent: "Custom implementation for User.IsInRole??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 10 Dec 2004 17:22:04 +0100
Look at this
www.codeproject.com/aspnet/formsroleauth.asp
-- Daniel Fisher(lennybacon) MCP ASP.NET C# Blog: http://www.lennybacon.com/ "Arthur Dent" <hitchhikersguideto-news@yahoo.com> wrote in message news:uyezVag3EHA.708@TK2MSFTNGP11.phx.gbl... >I have an app where im using FormsAuthenticaton, and doing my own >authentication against a users table in my db. I have no problem actually >getting the authentication to work as i want. When the user logs in though, >it is also pulling out a logical bitmapped set of roles that the user >belongs to. (1 = User, 2 = Admin, then ANDing and ORing against the >UserRoles value to determine role membership). > > What i am trying to figure out, is how can i use this role information as > the role that is verified against an "allowRoles" or "denyRoles" setting > in the web.config security section? > > Thanks in advance, > - Arthur Dent. >
- Next message: Daniel Fisher\(lennybacon\): "Re: System.Security.SecurityException: Security error"
- Previous message: Daniel Fisher\(lennybacon\): "Re: connecting VS.NET to IIS-what do I have to do"
- In reply to: Arthur Dent: "Custom implementation for User.IsInRole??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]