Ask a Question related to ASP.NET Security, Design and Development.
-
Ivan Smith #1
Windows authentication Redirect /CustomErrors Issue
I am using asp.net (1.1) and am setting application security in web.config using:
<customErrors mode="On" defaultRedirect="Denied.htm"><error statusCode="401" redirect="Denied.htm" /><error statusCode="403" redirect="Denied.htm" /></customErrors
If I try to authenticate with invalid credentials more than 4 times, the page redirects to Denied.htm as it should, but if I click on "Cancel" instead of "Ok" on the login prompt box, I get redirected to an ASP.Net page that looks like this
I have tried to set the Custom Error pages for all 401 errors in IIS and the page still will not redirect to my custom error page as specified in both IIS and Web.config. Please Help> Server Error in '/munkeys/WindowsAuth' Application
>-------------------------------------------------------------------------------->>>Access is denied.
>Description: An error occurred while accessing the resources required to serve this request. The server may not be >configured for access to the requested URL.>>Error message 401.2.: You do not have permission to view this directory or page using the credentials you supplied. >Contact the Web server's administrator for help
Ivan Smith Guest
-
CF - windows authentication issue
In the process of upgrading company intranet from Windows 2000 server w/ Coldfusion 4.0 (GASP!) to Windows 2003 server w/ Coldfusion MX 6.1... ... -
Redirect fails with Forms Authentication
Geezuz, I feel like a fool but I can't get this SIMPLE redirect out of IIS to hit my login page. Here's the Web.Config code: <authentication... -
Redirect to default page using Windows Authentication
Hi, Is there a way to redirect the user to a default, anonymous, welcome or "splash" page for our application when using Windows authentication... -
User Session issue with ASP.NET Forms authentication & Windows 2003
Hi, I first posted this query in just the aspnet ng but didn't get a reply so I'm posting here (probably more appropriate) Hope one of you guys... -
Forms Authentication - Does Not Redirect
Elmo, Perhaps you are missing the "allow" child node in your web.config file? <authorization> <deny users="?" /> <!-- denies anonymous access... -
Eric Marvets #2
Re: Windows authentication Redirect /CustomErrors Issue
Have you tried adding '<error statusCode="401.2" redirect="Denied.htm" />'?
--
Eric Marvets
Principal Consultant
the bang project
<shameless self promotion>
Email [email]sales@bangproject.com[/email] for Information on Our Architecture and
Mentoring Services
</shameless self promotion>
"Ivan Smith" <anonymous@discussions.microsoft.com> wrote in message
news:59DD27BC-61A9-463D-9809-374D02894EEB@microsoft.com...using:> I am using asp.net (1.1) and am setting application security in web.configstatusCode="401" redirect="Denied.htm" /><error statusCode="403"> <customErrors mode="On" defaultRedirect="Denied.htm"><error
redirect="Denied.htm" /></customErrors>page redirects to Denied.htm as it should, but if I click on "Cancel">
> If I try to authenticate with invalid credentials more than 4 times, the
instead of "Ok" on the login prompt box, I get redirected to an ASP.Net page
that looks like this:----->>>Access is denied.>>> > Server Error in '/munkeys/WindowsAuth' Application.
>---------------------------------------------------------------------------serve this request. The server may not be >configured for access to the> >Description: An error occurred while accessing the resources required to
requested URL.or page using the credentials you supplied. >Contact the Web server's> >>Error message 401.2.: You do not have permission to view this directory
administrator for help.the page still will not redirect to my custom error page as specified in>
> I have tried to set the Custom Error pages for all 401 errors in IIS and
both IIS and Web.config. Please Help!>
>
>
>
Eric Marvets Guest
-
Ivan Smith #3
Re: Windows authentication Redirect /CustomErrors Issue
tried <error statusCode="401.2" redirect="Denied.htm" />, but that didn't work either. Thanks for your suggestion though.
Ivan Smith Guest



Reply With Quote

