M
Mike
Hello,
I am having difficulty achieving a result I expected to be very easy with
ASP.NET role authorization. I would like to set a site-wide authorization
policy where only members of a certain role may access any page in the site,
but I would like suspend this authorization policy for *one* single page in
the site, so that any authenticated user may access the page, no matter which
role they are assigned to or even if they have no roles.
I have tried using a <location> element to turn off role authorization for
the single page, but it doesn't seem to have any affect. Authenticated users
without the proper role that try to access the unrestricted page are prompted
over and over again to log in, which indicates that a role is still needed
for the page. How can I override the site-wide role authorization requirement
and turn it off for the one page?
TIA,
-Mike
I am having difficulty achieving a result I expected to be very easy with
ASP.NET role authorization. I would like to set a site-wide authorization
policy where only members of a certain role may access any page in the site,
but I would like suspend this authorization policy for *one* single page in
the site, so that any authenticated user may access the page, no matter which
role they are assigned to or even if they have no roles.
I have tried using a <location> element to turn off role authorization for
the single page, but it doesn't seem to have any affect. Authenticated users
without the proper role that try to access the unrestricted page are prompted
over and over again to log in, which indicates that a role is still needed
for the page. How can I override the site-wide role authorization requirement
and turn it off for the one page?
TIA,
-Mike