setting IIS authentication methods in web.config

Discussion in 'ASP .Net' started by jeremy.stitt@gmail.com, Jun 8, 2005.

  1. Guest

    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
     
    , Jun 8, 2005
    #1
    1. Advertising

  2. 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

    <> wrote in message
    news:...
    > 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
    >
     
    Mark Fitzpatrick, Jun 8, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    4
    Views:
    41,590
    Shaul Feldman
    Apr 6, 2004
  2. Hardy Wang
    Replies:
    2
    Views:
    1,510
    Joe Fallon
    Jul 31, 2004
  3. Benny Ng
    Replies:
    9
    Views:
    10,147
    Benny Ng
    Oct 13, 2005
  4. CSharpner
    Replies:
    0
    Views:
    1,109
    CSharpner
    Apr 9, 2007
  5. Kenneth McDonald
    Replies:
    5
    Views:
    353
    Kenneth McDonald
    Sep 26, 2008
Loading...

Share This Page