setting IIS authentication methods in web.config

J

jeremy.stitt

Does anyone know if it is possible to set IIS authentication methods
(e.g. anonymous access, basic authentication, IWA, etc) in the
web.config file?

For example, I want to remove Anonymous Access for an entire directory
in my ASP .NET project and only use Integrated Windows Authentication.

Is there some way I can configure that in the web.config file or do I
need my Infrastructure guys to make that change in IIS?

Jeremy
 
M

Mark Fitzpatrick

You can't change the IIS settings, but you can set the ASP.Net forms
authentication settings for specific directories and such to use Windows
permissions instead. Check out the forms authentication portion of the .net
framework help docs.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top