Controlling an individual Virtual Directory's security
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Controlling an individual Virtual Directory's security




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Controlling an individual Virtual Directory's security  
Mike Warden


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-22-05 12:54 PM

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







[ Post a follow-up to this message ]



    Re: Controlling an individual Virtual Directory's security  
Mike Warden


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-22-05 10: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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register