Ask a Question related to ASP.NET Security, Design and Development.
-
Malik Asif Joyia #1
How to show a Access Denied Page when User is not in Role?
Hello
I have Implemented the Forms Based Authentication and manageing Roles on the
Directories.
If a User is not in Role on some Sub directory of my Web-Application, How
can i show the Access Denied Custom Designed Page......
At this time if a user is logon to my web application and want to access
some directory by giving its path in URL it redirects it to logon page...I
want to avoid this thing as user is allready login. and Application should
show the Access Denied Message.
i have defined
<authorization>
<deny roles="1" />
</authorization>
in the web.config file of the sub directory
Thanks
Malik Asif Joyia Guest
-
Access denied for user
Hello everyone. I created a new user with the grant command and yet, I can't login into the database I must mention that the user was created but... -
access log doesn't show denied connects
Hi All I have set up new adaptor with default virtual host on flash server. It has one application - sample videoconference from macromedia.... -
MySQL Access denied for user - Plesk / FC 2
I'm pulling my hair out and I've done all types of searches and I'm close to taking a sledge hammer to my server. I have Plesk 7.5, CFMX 7.01,... -
MX2004 User Authentication: Access Denied
Hi, i am using the dreamweaver mx 2004 user authentication scripting...and it actually works, but very often users get an access denied url like... -
401 Access Denied, but only for one user
I've published a web service based on an authentication demo I found on the web. It resides on a domain controller, and the domain's Active... -
Shaun #2
RE: How to show a Access Denied Page when User is not in Role?
Did you find a solution to this problem - I have just run into the same thing today.
Thanks
Shaun
"Malik Asif Joyia" wrote:
> Hello
> I have Implemented the Forms Based Authentication and manageing Roles on the
> Directories.
> If a User is not in Role on some Sub directory of my Web-Application, How
> can i show the Access Denied Custom Designed Page......
> At this time if a user is logon to my web application and want to access
> some directory by giving its path in URL it redirects it to logon page...I
> want to avoid this thing as user is allready login. and Application should
> show the Access Denied Message.
> i have defined
>
> <authorization>
> <deny roles="1" />
> </authorization>
>
>
> in the web.config file of the sub directory
>
> Thanks
>
>
>Shaun Guest



Reply With Quote

