ASP.NET
Windows Authentication and the Anonymous Authentication
Gravatar is a globally recognized avatar based on your email address. Windows Authentication and the Anonymous Authentication
  Dmitry Litvak
  All
  May 11, 2021 @ 04:06pm

Hello,

I am installing 10 copies of my ASP.NET application on one VM server (one IIS enabled). The same application can work in anonymous mode (for some sites) and in authenticated mode (for others). So, I need to set up a couple of sites to have Windows Authentication enabled and Anonymous Authentication disabled. I am looking at one of your very helpful articles where you show how to check Basic Authentication and check Windows Authentication (in the Security section).

My question is, if I set it up in the IIS, will it screw up those cases where the application/site has to run in the anonymous mode? Can I do the Basic Authentication and Windows Authentication in the web.config? So that it will effect just one site?

TIA

Gravatar is a globally recognized avatar based on your email address. re: Windows Authentication and the Anonymous Authentication
  Rick Strahl
  Dmitry Litvak
  May 11, 2021 @ 08:54pm

Each site has its own set of configuration settings.

As long as each site is not hierarchically below another and doesn't inherit parent site settings (ie. folders below a root site folder for virtuals) each site/virtual is completely independent of another. And if it is you can clear settings for each setting before applying new ones.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Windows Authentication and the Anonymous Authentication
  Dmitry Litvak
  Rick Strahl
  May 12, 2021 @ 04:18pm

Thank you, Rick.

It works.

© 1996-2021