Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Windows authentication with custom login page

$
0
0

Hello,

we have a page running with windows authentication. If the page is accessed the browser asks for login information with the usual popup from the browser. One of the decison maker wants a corporate identity styled custom login page. How can i achieve this?

What i already tried was a new application under the current application with anonymous authentication and forms authentication. For the sub application it works perfect but when i try to redirect to the main application it still asks for the login data. I tested the forms authentication as described here http://support.microsoft.com/default.aspx?scid=kb;en-us;326340.

We are using IIS 7.5 and ASP.NET4.0. For the redirect to the login page from the main application we use the following entry in the web.config:

<remove statusCode="401" />
<error statusCode="401" path="/login/login.aspx" responseMode="ExecuteURL" />

Can someone help me out? Thanks!


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>