Click here to Skip to main content
12,697,311 members (28,344 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP.NET WCF
Hi all,

Want to achieve forms authentication and windows authentication.
When user wants to login using forms then my application should work with forms authentication and if it is windows then windows authentication should work .
I will provide a radio button for the type of authentication.
Please some one provide information on how to achieve this functionality
Posted 8-Jan-13 19:05pm
Updated 8-Jan-13 19:06pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Go through this article to understand the details of what you want to achieve and how it can be done: IIS 7.0 Two-Level Authentication with Forms Authentication and Windows Authentication[^]
MSDN: Mixing Forms and Windows Security in ASP.NET[^]
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Hi sandeep Mewara,
Thanks for the info can you please share any sample application which allows both type of authentications together

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 9 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100