c# - Using Active Directory Membership Provider prompts with Windows Security popup then my login.aspx so I have to login twice -
i have deployed application using active directory membership provider in order authenticate users our domain on extranet. application using .net 3.5
framework. if run application locally goes straight login page. if run application deployed location on server first prompts windows security login prompt , after logging in, taken login page must login again. why this?
your web application seems configured utilize active directory authentication (and doesn't allow anonymous access). users internally logged on domain , iis lets them past.
your login.aspx page protected iis must fellow member of domain in order see login.aspx page. configuration issue in iis , has little asp.net or c#.
if using forms authentication, should able allow anonymous authentication in iis , handle authentication using forms only. however, exclusively depends on web app , enabling anonymous access may inadvertently expose info didn't intend publicly accessible.
without knowing more application it's hard offer more advice. luck.
c# asp.net
No comments:
Post a Comment