Lock down a group to a folder

CrazyLlama

New member
Hi everyone,

I am trying to lock down a group to a single folder called "Media" in C:\inetpub\wwwroot So far I have created a group called "LockedDown", created a local user called "IIS_IUSR", removed user from "User" group and added user to "LockedDown" group. I gave LockedDown read and execute permissions in the inetpub folder but I want to explicitly deny the LockedDown group permissions everywhere else. I keep getting an error when trying to deny access to the system32 file and then does not apply the permissions.

Is the fact that I have removed the IIS_USER user from the "Users" group enough or is it better to explicitly deny access everywhere I do not want the user to go? If it is better to deny the access then what is best way to accomplish this or am I on the right track?

I appreciate everyone's time.

Thanks
 

My Computer

Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Pro x64
CPU
Core 2 Quad Q9450
Motherboard
EVGA NVIDIA nForce 780i SLI ATX Intel Motherboard
Memory
CORSAIR XMS2 4GB DDR2 800
Graphics Card(s)
NVIDIA GeForce GTX 460
Sound Card
X-Fi Xtreme Gamer
Monitor(s) Displays
22' Widescreen
Hard Drives
Seagate 1TB 7200RPM
PSU
OCZ GameXStream 700W
Case
RAIDMAX SMILODON
Cooling
ZALMAN LED 110mm 2 Ball CPU Cooler
I think that you will find that expicitly denying permissions is generally consider a bad practice in order to do so on any subcontainer you would need to break inheritance from it's parent folder being very careful to copy existing permission as they exist currently and then proceeding with the explicit denial. A critical folder like the system32 folder only compounds the danger and can result in disasterous effects so I would suggest that if you proceed you use extreme caution. (restore point and complete known good current system image.)
 

My Computer

Computer Manufacturer/Model Number
PartsIsParts
OS
Windows 7 Ultimate 64bit
CPU
Intel Pentium D 3Ghz
Motherboard
ASRock G31M-S
Memory
4 Gigs PC 6400
Graphics Card(s)
Nvidia GeForce 8500 GT
Sound Card
Realtek High Definition Audio Integrated
Monitor(s) Displays
AOC 19inch X2
Screen Resolution
1024 X 768 (I'm Old)
Hard Drives
Segate ST3160815AS Serial ATAII
Western Digital WD1600AAJA-75PSA0 Serial ATAII
PSU
500 watt..don't know mfg.
Case
Giant Black 4u rackmount I've had for years
Cooling
Stock CPU extra 120s in case
Keyboard
Generic Made in China
Mouse
Logitech USB Optical Scroll
Internet Speed
What ever comcast decides to give me usually 21Mbps up/5mbps
What guide are you following on how to configure IIS?
 

My Computer

Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
Well, actually, no guide. But, the idea was inspired by this guide: Lockdown by group using Local Computer Policy without Active Directory

That is why I figured I would come and ask all of you very helpful folks if I am doing the right thing. I know that after XP permissions had changed a bit. I know that IIS is installed and "works" because I can type my dyndns address and see my index of files. I just want to make sure that is all that everyone else can see/access.

With Patwhatsthat's information, I guess my approach is at least partially incorrect because I do not want to break inheritance from it's parent folder. That would be a nightmare or impossible to correct. So, is there an easier way to lock users into only accessing only one folder? I guess I am wanting to do the same thing that chroot does in Linux. I just thought this was the best way in Windows to get this accomplished.
 

My Computer

Computer Manufacturer/Model Number
Home Built
OS
Windows 7 Pro x64
CPU
Core 2 Quad Q9450
Motherboard
EVGA NVIDIA nForce 780i SLI ATX Intel Motherboard
Memory
CORSAIR XMS2 4GB DDR2 800
Graphics Card(s)
NVIDIA GeForce GTX 460
Sound Card
X-Fi Xtreme Gamer
Monitor(s) Displays
22' Widescreen
Hard Drives
Seagate 1TB 7200RPM
PSU
OCZ GameXStream 700W
Case
RAIDMAX SMILODON
Cooling
ZALMAN LED 110mm 2 Ball CPU Cooler
I highly recommend you start out by reading a guide or two about IIS before you go any further. How it works and how to protect directories will be part of any good guide. It's definitely not the same as setting up a webserver on a Linux box.
 

My Computer

Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
Back
Top