Role Based Security : difference betweenn XP and 2K pro

J

JACK

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 ?
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top