Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Authorization roles & IIS

Authorization roles & IIS

Scheduled Pinned Locked Moved ASP.NET
windows-adminsecurityhelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    laserbaronen
    wrote on last edited by
    #1

    I have created a virtual directory in IIS for my application. The problem is that it completely disregards the authorization settings in the web.config:

    <location path="Admin">
    <system.web>
    <authorization>
    <allow users="domain\Administrator" />
    <deny users="*" />
    </authorization>
    </system.web>
    </location>

    If i run the application as a web site, it works perfectly.. Any ideas of why this can be? As far as I can see, the settings are the same


    betonglasermur.FeedDwarf(pur_is, 17);
    ProcessStartupInfo.AintNotCreateNoWindow = (false && !true) != (true || false) ? false == true ? true : false : (true != false && false);

    Morgonen är tröttmans mecka

    E 1 Reply Last reply
    0
    • L laserbaronen

      I have created a virtual directory in IIS for my application. The problem is that it completely disregards the authorization settings in the web.config:

      <location path="Admin">
      <system.web>
      <authorization>
      <allow users="domain\Administrator" />
      <deny users="*" />
      </authorization>
      </system.web>
      </location>

      If i run the application as a web site, it works perfectly.. Any ideas of why this can be? As far as I can see, the settings are the same


      betonglasermur.FeedDwarf(pur_is, 17);
      ProcessStartupInfo.AintNotCreateNoWindow = (false && !true) != (true || false) ? false == true ? true : false : (true != false && false);

      Morgonen är tröttmans mecka

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      Check you have only one version of the web.config file and that it is in the root directory

      L 1 Reply Last reply
      0
      • E eyeseetee

        Check you have only one version of the web.config file and that it is in the root directory

        L Offline
        L Offline
        laserbaronen
        wrote on last edited by
        #3

        There is only one, and it is in the root directory


        betonglasermur.FeedDwarf(pur_is, 17);
        ProcessStartupInfo.AintNotCreateNoWindow = (false && !true) != (true || false) ? false == true ? true : false : (true != false && false);

        Morgonen är tröttmans mecka

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups