|
Home > Archive > IIS Server Security > July 2005 > Controlling an individual Virtual Directory's security
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Controlling an individual Virtual Directory's security
|
|
| Mike Warden 2005-07-22, 7:54 am |
| 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
| |
| Mike Warden 2005-07-22, 5:55 pm |
| It's alright - I discovered that just creating subfolders off the phyical
folder of the Virtual Directory automatically makes it available for
downloading, so I don't need to make each one a new Virtual Directory.
I did say I was new to IIS :-)
Mike Warden
"Mike Warden" <mikew@estimation.co.uk> wrote in message
news:eYvv9AsjFHA.3336@tk2msftngp13.phx.gbl...
>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
|
|
|
|
|