praveen1981
asked on
webconfig location path
Hi,
I am storing roles in sqlserver , and i given permissions as below in web.config
<roleManager enabled="true" defaultProvider="AspNetSql RoleProvid er">
<providers>
<clear/>
<add name="AspNetSqlRoleProvide r" type="System.Web.Security. SqlRolePro vider" connectionStringName="Appl icationSer vices" applicationName="/" />
</providers>
</roleManager>
</system.web>
<location path="~/Admin/abc.aspx">
<system.web>
<authorization>
<allow users="*"/>
<deny users="jack"/>
</authorization>
</system.web>
</location>
Here i am deny jack not to access the abc.aspx file, but it is allowing him to
access that file
can you please guide me what are the steps i need to do more.
I am storing roles in sqlserver , and i given permissions as below in web.config
<roleManager enabled="true" defaultProvider="AspNetSql
<providers>
<clear/>
<add name="AspNetSqlRoleProvide
</providers>
</roleManager>
</system.web>
<location path="~/Admin/abc.aspx">
<system.web>
<authorization>
<allow users="*"/>
<deny users="jack"/>
</authorization>
</system.web>
</location>
Here i am deny jack not to access the abc.aspx file, but it is allowing him to
access that file
can you please guide me what are the steps i need to do more.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER