Ask a Question related to ASP.NET Security, Design and Development.
-
JACK #1
Role Based Security : difference betweenn XP and 2K pro
Hi,
I've got a problem with my asp.net (C#) apps.
Global.asax.cs :
protected void Application_AuthenticateRequest(Object
sender, EventArgs e)
{
if( Context.User.Identity.IsAuthenticated )
{
if( !Context.User.IsInRole(@"SERVER\autorisedGroup") )
{
Response.WriteFile("error.htm");
Response.End();
}
}
}
With Win 2k Pro (with watches) i can see my user's roles
(local groups)
User(System.Security.Principal.WindowsPrincipal)
property m_rolesLoaded is flagged with "true"
This property is flagged to false with XP, (same problem
on Win 2k3 server)
Any idea ?
JACK Guest
-
Do I need Role Based Security
Corinna, In your example i'd say its not necessary to use role-based security. Since there's only 1 level of membership as you say then all I... -
Reg Role BAsed security..
Hi All.. Can any body detail out the basic diff/advatages/disadvantage over acheiving the role based security and the same thing in case of... -
WSE 2.0 - role based security for Web Services
Hi, I am using the policy editor to set role based authorization policies for my web service. However, it seems to allow me to set policies only... -
Help please with Role based security not working.
Hello All, I am trying to use the .Net built in role based security. It is not working. The web config has the following; <authorization> ...



Reply With Quote

