Controlling an individual Virtual Directory's security

From: Mike Warden (mikew_at_estimation.co.uk)
Date: 07/22/05

  • Next message: Mike Warden: "Re: Controlling an individual Virtual Directory's security"
    Date: Fri, 22 Jul 2005 14:21:19 +0100
    
    

    I am new to ISS, and must admit Windows security is a bit of a mystery to me
    also, but I'm trying to write a .NET Web Service that programatically
    creates new Virtual Directories as required off an existing pre-defined
    Virtual Directory.

    The service works fine when I edit the "Default Web Site" Directory Security
    Anonymous access settings to run as my own (admin rights) user, but I don't
    really want to grant everything under the entire web site my rights, so I
    put it back to IUSER_MyComputerName, and instead set the Directory Security
    settings of my pre-defined Virtual Directory. The service then fails with
    "Access is denied".

    Am I misunderstanding something?

    BTW: I'm running IIS 5.1 locally under Windows XP Pro SP2.

    Any assistance much appreciated,
    Mike Warden


  • Next message: Mike Warden: "Re: Controlling an individual Virtual Directory's security"

    Relevant Pages

    • Re: Controlling an individual Virtual Directorys security
      ... so I don't need to make each one a new Virtual Directory. ... and must admit Windows security is a bit of a mystery to ... > Security Anonymous access settings to run as my own (admin rights) user, ...
      (microsoft.public.inetserver.iis.security)
    • Re: creating directories
      ... > IIS 6.0 has additional security measures to prevent you from walking down ... >> I am trying to create directories under a virtual directory on the fly to ... >> directory listing on I can navigate right down to this folder but if I ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: File permissions vary based on access method problem
      ... The issue is that "different access methods" have different security ... Does the resource allow that user identity to perform that action through ... directory is shared on the office intranet as H:, and a Virtual Directory ...
      (microsoft.public.inetserver.iis.security)
    • Re: Security a virtual directory
      ... I would say each virtual directory gets the security. ... the security probably puts the IIS permissions into the metabase and not ... Other free software that helps analyze the statistics in your IIS web server ...
      (microsoft.public.inetserver.iis.security)
    • Repost from aspnet - still looking for an answer - dynamically include virtual directory content
      ... I didn't have much luck with this in the general aspnet newsgroup. ... files are on a separate server, mapped via a virtual directory. ... but I'm running into security issues because those ...
      (microsoft.public.dotnet.framework.aspnet.security)