[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Multiple Authentication Mode

Posted on 2012-09-11
5
Medium Priority
?
350 Views
Last Modified: 2012-09-17
Hi Experts
We setup multiple Websites based on single Assembley. All sites set to use Forms authentication mode on Web.config file. Now we need to setup an Intranet site based on the same assembley (as well as same Web.config file) but this time it should authenticate users with Windows authentication mode.

Can anyone be able to give some guidelines about this?

Many Thanks
Masil
0
Comment
Question by:partnershipdev
  • 3
  • 2
5 Comments
 
LVL 26

Expert Comment

by:Alan Warren
ID: 38389085
The intranet site would need a slightly different web.config, defining authentication mode as windows; other than that I expect it should work. As long as each site initialises the same membership provider and passes in the ApplicationName specific to the site, the .net membership server is geared for multiple sites.

Alan
0
 

Author Comment

by:partnershipdev
ID: 38390483
Alan
The challenge is, we have to share same Web.config file for all sites. Is there any way we can tweak the Authentication mode @IIS7 level, without touching the Web.Config file?


Thanks
Masil
0
 
LVL 26

Accepted Solution

by:
Alan Warren earned 1000 total points
ID: 38393158
Hi Masil,
wondering if this might work for you?
How To: Use Forms Authentication with Active Directory in Multiple Domains

Alan
0
 

Author Comment

by:partnershipdev
ID: 38404905
I think it's an impossible task. Eventually I have decided to keep the Intranet as a separate copy with it's own Web.config file.

Many Thanks
Masil
0
 

Author Comment

by:partnershipdev
ID: 38404909
I've requested that this question be closed as follows:

Accepted answer: 0 points for partnershipdev's comment #a38404905

for the following reason:

It's seems to be an impossible task.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month18 days, 18 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question