Ask a Question related to ASP.NET Security, Design and Development.
-
Ken Varn #1
Need info on how to test for roles defined in web.config.
I am using forms based authentication. I would like to be able to determine
if a user has access to a specific web page through some automation method
without having to put specific code in the page to see if it is restricted.
I was looking at the web.config parameters for location element and thought
this would be a good place to start. However, I cannot figure out how to
have the page test to see if the required roles for the location are valid
based on the identity object of the logged on user. Is there some standard
way of doing this?
So far I have authenticated the user, and now want to limit the access of
certain pages based on the defined roles that the user has vs. what the page
allows.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
Ken Varn Guest
-
CFMX Mail Config Info (Win2003)
My automated ResendUndeliverableEmail routine quit working since upgrading to CFMX because the spool/undelivr directory locations are no longer... -
How can the location roles be read from the web.config file?
Security Experts, I have a config file such as this: <configuration> <system.web> <!--- other stuff goes here --> <authentication... -
Config::General Failing test in ActivePerl
When I install Config::General in ActivePerl it fails test 8. Test 8 is writing a hash to a file, and reloading it, and seeing if it is the same.... -
Help find info for CPAN update config questions
Hi, In the normal process of updating from a CPAN repository, a message came up saying there was a new version, to install Bundle::CPAN. Ok so... -
How to test a hash of arrays for defined/not defined
"Steve" <ineverlookatthis@yahoo.com> wrote in message news:f0d57f86.0306300420.403e83e7@posting.google.com... I think you want: $chosen =... -
Ken Varn #2
Re: Need info on how to test for roles defined in web.config.
Never mind... I forgot to put in a Deny Users="*" after the Allow element.
--
-----------------------------------
Ken Varn
Senior Software Engineer
Diebold Inc.
EmailID = varnk
Domain = Diebold.com
-----------------------------------
"Ken Varn" <nospam> wrote in message
news:OYMaMRzeEHA.724@TK2MSFTNGP10.phx.gbl...determine> I am using forms based authentication. I would like to be able torestricted.> if a user has access to a specific web page through some automation method
> without having to put specific code in the page to see if it isthought>
> I was looking at the web.config parameters for location element andstandard> this would be a good place to start. However, I cannot figure out how to
> have the page test to see if the required roles for the location are valid
> based on the identity object of the logged on user. Is there somepage> way of doing this?
>
> So far I have authenticated the user, and now want to limit the access of
> certain pages based on the defined roles that the user has vs. what the> allows.
>
> --
> -----------------------------------
> Ken Varn
> Senior Software Engineer
> Diebold Inc.
>
> EmailID = varnk
> Domain = Diebold.com
> -----------------------------------
>
>
Ken Varn Guest



Reply With Quote

