Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Server Operating Systems > Windows Server 2000 / 2003
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

Windows 2000 Folder & File Permissions

Windows 2000 Folder & File Permissions

this thread has 2 replies and has been viewed 1491 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th December 2006, 10:46
sambapati sambapati is offline
Casual
Casual
 
 Join Date: Dec 2006
  6 month star 12 month star
 Posts: 1
 Reputation: sambapati is on a distinguished road (10)
Default Windows 2000 Folder & File Permissions

Hi, I use a windows 2000 to share some files and directory and I need to block user in your directory. My first problem is how to stop directory browsing in child directory and, main target, is how to stop browsing of root directory '\'. When i place deny for user grup in root directory all system stop browsing: deny is more important related allow... Can you help me to solve this problem?

Tks.

Luigi Franceschi
  #2  
Old 9th December 2006, 10:05
MVP yuval14 yuval14 is offline
MVP
MVP
 
 Join Date: Oct 2003
  6 month star 12 month star
 Location: IL
 Posts: 1,999
  Send a message via MSN to yuval14
 Reputation: yuval14 is a glorious beacon of lightyuval14 is a glorious beacon of lightyuval14 is a glorious beacon of lightyuval14 is a glorious beacon of lightyuval14 is a glorious beacon of lightyuval14 is a glorious beacon of light (501)
Default Re: Windows 2000 Folder & File Permissions

You can use list permission to hide folder inside share etc.
You can hide share by using Windows 2003 SP1:

http://www.jsifaq.com/SF/Tips/Tip.aspx?id=9231
__________________
Best Regards,

Yuval Sinay

BA/MCSE/MCDBA/MCSA/MCT/MCTS/MCITP
/MVP/CCEA/CNA/A+/Security+/CCNP
/CISSP/DCSE/CCSE+/ITILF/MASE/HPCI/
JNCIA-SSL/JNCIA-EX

Shadowall Group CTO
http://www.shadowall.net
  #3  
Old 12th December 2006, 01:10
rvalstar's Avatar
rvalstar rvalstar is offline
Senior Member
Guru
 
 Join Date: Oct 2006
  6 month star 12 month star
 Location: Houston, TX
 Posts: 1,303
 Reputation: rvalstar is just really nicervalstar is just really nicervalstar is just really nicervalstar is just really nice (376)
Default Re: Windows 2000 Folder & File Permissions

yuval14:

That ABE (Access-Based Enumeration) looks interesting. I'm going to have to give it a try.

sambapati:

Deny has always given me more problems than it ever could solve.

I believe you can do most everything you want with some of the advanced features available in W2K and beyond ACLs. You'll have to apply them through the GUI however as XCACLS doesn't handle these features.

http://www.microsoft.com/resources/d....mspx?mfr=true

I'm running this scenario on WXP but I'm confident they'll work on W2K as that's where I worked out this process.

This looks messy but give it a chance...
On \\Server, you have C:\Test containing:
readme.txt (containing hello)
x.xls (1 cell containing 1)
x.cmd (containing pause)

New Folder containing:
readme2.txt (containing there)
y.xls (1 cell containing 2)
y.cmd (containing pause)
On \\Server, navigate to C:\Test in Explorer and (what follows may be a little different in W2K)
Right-Click\Properties\Sharing\Share this folder (as Test)\ then Click Permissions\Everyone\Check Full Control\Click OK\Click OK
So now we have a share \\Server\Test controlled by ACL's and not share level permissions.

Back to C:\Test in Explorer:
Right-Click\Properties\Security\Advanced\Un-check Inherit from parent...\Click Copy\Click OK\ now Remove groups -- Everyone plus anything w/ Users\ next Click Advanced\Check Replace permissions on all child objects...\Click OK\Click Yes\Click OK
Now C:\Test and all files / children have only *Admin*, CREATOR OWNER, SYSTEM listed as having privs.

Let's say you want a Group, UsersA to be able to list and modify the files in C:\Test but not be able to look into "New Folder":

Back to C:\Test in Explorer:
Right-Click\Properties\Security\Click Add\UsersA\Check Modify\Click OK\Click Advanced\Select UsersA\Click Edit\Select Apply Onto = "This folder and files"\Click OK\Click OK\Click OK
"This folder and files" limits downward visibility.

Users in UsersA can see all the files / folders in C:\Test and can modify the files in the folder. They can see "New folder" but can't look into it nor rename it, etc.

That was relatively easy.

Your next request to stop browsing the root of a share is somewhat more complicated not by the ACL's but by the behavior of most software in Windows. I can show you how to lock down the ability to do a DIR but all you'll be able to do is run CMDs and EXEs. Most software must be able to see the file (List) before opening it.

If you'd like to experiment, try the above process for UsersA except:
Change
Apply Onto = "This folder and files"
to
Apply Onto = "Files only"; Also Check "Apply these permissions to objects and/or containers within this container only"
Next give a "user" that does not have permissions in this directory (we'll change to UsersA in a minute):
"List Folder Contents" permissions using the "Right-Click\Properties\Security\Click Add\" bit from before.

Click Advanced\select that "user"\Apply Onto = "This folder only"\ Uncheck "List Folder / Read Data" \ Change Name to from "user" to "UsersA"

Next, Click the Change button and change from "user" to "UsersA"

Hit enolugh OK's to close the dialog down.
The net effect is users in UsersA cannot take a DIR on the share nor open any of the files for viewing but can run X.CMD even though it appears one should be able to open the other files in their respective applications.

Hopefully, this give you enough ideas so you can solve your problem w/ ACL's.

If I've totally confused you, I'd be more than happy to post screen shots of the relevant steps. If the steps don't match W2K, try them in WXP then figure out the equivalent.
__________________
Cheers,

Rick

** Remember to give credit where credit is due and leave reputation points Click on that post's Yin-Yang icon where appropriate **

© 2006-2013 R Valstar. This post is offered "as is" for discussion purposes only with no express or implied warranty of any kind including, but not limited to, correctness or fitness for use. Nothing herein shall be construed as advice. Attempting any activity based on information in this post is done at your own risk.
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How could we give files and folder qouta in windows 2000 advance server rajeev631007 Windows Server 2000 / 2003 4 28th November 2006 10:46
Folder Permissions kristiaa_d Windows Server 2000 / 2003 7 4th October 2006 15:38
HOWTO: Setup a shared folder set in SBS with Share and File Permissions brian873 SBS 2000 / 2003 0 20th September 2006 15:29
File Permissions Windows 2003 Server yzahjh Windows Server 2000 / 2003 2 3rd August 2006 22:29
Protect folder in Windows 2000 Aneesh Windows 2000 Pro, XP Pro 5 7th October 2004 15:05


All times are GMT +3. The time now is 17:49.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri