Solved

Windows 2003 server permissions

Posted on 2007-03-27
8
216 Views
Last Modified: 2013-12-04
I have applied the following Permission structure(yes this has been posted several times before).
As *share* permissons, give the Everyone group Full Access.
For the time being, create four local groups on the file server hosting the share (if your domain is running in Windows 2000 native mode or higher, you can create domain local groups as well):
* L-WHC-C
* L-WBAL-Fin-C
* L-FBAL-Fin-C
* L-SAL-Fin-C
Change the permissions, first the WHC folder:
In this folder, give (local) Administrators and the System account Full permissions, and give the L-WHC-C group Change permissions; replace the permissions on child objects.
On the "Finance" subfolders of each folder, go the Advanced security tab, uncheck "Inherit permissions", check "Replace permissions", and copy the current permissions when asked. Remove the L-WHC-C group, add the L-xxxx-Fin-C group with Change permissions, leave Administrators and System with Full Access.
Create two global groups, G-Role1 and G-Role; Role1 for users with no access to the Finance folder, Role2 for users with access to all folders; you can use existing groups if they contain the correct users, and you can of course name them according to the roles the users have.
Add the G-Role1 group to the L-WHC-C group only.
Add the G-Role2 group to the L-WHC-C group and the L-xxxx-Fin groups.
Finally, add all users with no access to the finance group to the G-Role1 group, add all users with access to the finance folder as well to the G-Role2 folder.
From then on, you only need to add users to the respective global groups to give them permissions on the folders they need.

My problem is I have 3 users in the G-Role2, 1 user can open the files in Financial folder, the other 2 are still Read-Only Access, Why?
1) How or why is that all 3 are in the same group, but only 1 has access?
2) When this FINALLY works, how do you set the Financial folder so that restricted users have NO access, so they can not even VIEW files? Right now they have Read-Only. I want them BLOCKED.


0
Comment
Question by:Harold
8 Comments
 
LVL 70

Expert Comment

by:KCTS
Comment Utility
The final question first. If you want some people to have no access to the folder make sure the groups to which they belong do not appear in the security list. make sure that you remove the 'Everyone' and/or Users groups and any others that have no access rights.

As for the first bit, if all three are in the same group but only one has access he must be getting the permissions from sonewhere else. Check this with effective permissions option
0
 
LVL 22

Expert Comment

by:65td
Comment Utility
User added to global groups need to log off and then back in to get group group changes.
Local groups, user only have to disconnect then reconnect to changes applied.
0
 
LVL 1

Author Comment

by:Harold
Comment Utility
"effective permissions option" where do I see this? I looked at the user profile and Member of <tab> they are members of the same groups.
0
 
LVL 1

Author Comment

by:Harold
Comment Utility
OK, I found Effective Permissions and went through the Driectory Structure down to the restricted folder and the 3 users have the same Permissions down to the restricted folder. The folder that only the 3 users should have access and the 1 user has Read and Change, the other 2 users, just Read.

I removed Domain Users, so to blocked all other users from Read-only. How do I figure where they are dropping the Read permission, like the working user has?
0
Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

 
LVL 82

Accepted Solution

by:
oBdA earned 250 total points
Comment Utility
Hm? Seems like you didn't follow the directions; how did the Domain Users ever get permissions?
Anyway, save this script as testenvironment.cmd or whatever.cmd, and run it on your DC (assuming your AD is in Windows 2000 native mode or later, and that you're using an English Windows version). It will create a test folder structure, the according test groups as described, and set the permissions as described. All groups and the root folder created will start with "Test-".
You can change the target folder to another one (UNC is possible, too, \\SomeServer\D$ \Test-WHC or whatever) at the beginning of the script, leave the rest as it is.
Share the folder created, give the Everyone group Full access in the *share* permissions.
Add the users you have to the Test-G-Role1 and Test-G-Role2 groups and test access. This should give you enough to correct the permissions on your production folders.

@echo off
setlocal
:: *** Define the root folder of the directory structure:
set Root=C:\Test-WHC

:: *** Create the global groups to define the roles:
net group Test-G-Role1 /add /domain
net group Test-G-Role2 /add /domain

:: *** Create the domain local groups to control resource access:
net localgroup Test-L-WHC-C /add /domain
net localgroup Test-L-WBAL-Fin-C /add /domain
net localgroup Test-L-FBAL-Fin-C /add /domain
net localgroup Test-L-SAL-Fin-C /add /domain

:: *** Add the role groups to the necessary resource groups:
net localgroup Test-L-WHC-C Test-G-Role1 Test-G-Role2 /add /domain
net localgroup Test-L-WBAL-Fin-C Test-G-Role2 /add /domain
net localgroup Test-L-FBAL-Fin-C Test-G-Role2 /add /domain
net localgroup Test-L-SAL-Fin-C Test-G-Role2 /add /domain

:: *** Create the directory tree:
md "%Root%"
md "%Root%\WBAL\Financial"
md "%Root%\FBAL\Financial"
md "%Root%\SAL\Financial"

:: *** Set the permissions:
echo y|cacls "%Root%" /t /g Administrators:F SYSTEM:F Test-L-WHC-C:C
echo y|cacls "%Root%\WBAL\Financial" /t /g Administrators:F SYSTEM:F Test-L-WBAL-Fin-C:C
echo y|cacls "%Root%\FBAL\Financial" /t /g Administrators:F SYSTEM:F Test-L-FBAL-Fin-C:C
echo y|cacls "%Root%\SAL\Financial" /t /g Administrators:F SYSTEM:F Test-L-SAL-Fin-C:C

echo Done.
0
 
LVL 1

Author Comment

by:Harold
Comment Utility
Sorry, it was just Users, not Domain Users. I was trying to stop the general users from Viewing the restricted folder and content. I will run this and test it.
0
 
LVL 11

Expert Comment

by:AnthonyP9618
Comment Utility
Are you removing these groups (Users, Domain Users, etc..) from the ACLs or are you checking deny?
0
 
LVL 1

Author Comment

by:Harold
Comment Utility
OMG!!! I have been working on this for a 9 months and it is FINALLY right!!  oBdA, that was what I needed. Anthony, no I was not removing these groups. After I ran the .cmd and it created everything in the Test environment, I saw exactly what it was.
1) I had not removed the other Groups, as questioned.
2) I just left the L-xxx-Fin-C Groups with Special Permissions. So after checking the Modify permission, it was done.
I logged in as the Administrative users,  perfect. I logged in as restricted Users, perfect.

oBdA, I can not THANK YOU enough!
Muchos Gracias mi amigo!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Security measures require Windows be logged in using Standard User login (not Administrator).  Yet, sometimes an application has to be run “As Administrator” from a Standard User login.  This paper describes how to create a shortcut icon to launch a…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now