[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

How to set the security for aceessing a file -> Only administrators on Windows XP machine ?


I have a file (Sample.txt) in a folder (Test). Now i want to set the security for Sample.txt file. Only ADMINISTRATORS can access this file. Other than ADMINISTRATORS, no body have access to this file. This i want to do on Windows XP machine with SP2. Can you please provide the necessary steps for this ?

Thanks,
Kishore
0
kishore_peddi
Asked:
kishore_peddi
1 Solution
 
jeffrashCommented:
If you go to that folder, then "right click" on the file and choose "properties" you'll see a tab that is labeled "Security". Click on that tab and ensure "Administrators" is in the list and that they have the "Full Control" option in the lower section selected. Then all you have to do is remove everyone else that has permissions, and then of course click on OK.

I would suggest leaving the "SYSTEM" user there.

0
 
Rich RumbleSecurity SamuraiCommented:
Yep, the above should cover it, you may also want to turn off the inherit permissions from parent, when you do just select "copy current rights..." and then as pointed out above, remove all other accounts/groups with the exception of system and or your backup software's username/group, and that should do it.
-rich
0
 
kishore_peddiAuthor Commented:

I have Windows XP SP2 on my machine. I right click on the file (Sample.txt), went to "Properties". BUT i can't find the tab "SECURITY" on the dialog window. Can you say why it is so ? And i can't set the security as i have no tab for "SECURITY". Please very urgent...
0
Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

 
Rich RumbleSecurity SamuraiCommented:
You need to disable simple file sharing: http://support.microsoft.com/kb/307874
it will appear after that.
-rich
0
 
jeffrashCommented:
Is the drive an NFTS ot FAT volume? You need to convert it to an NTFS volume to get the security option.
0
 
Shift-3Commented:
Also note that if you're running XP Home you'll either have to boot in Safe Mode or use the CACLS command to adjust NTFS permissions.  The following command should do it:

cacls "c:\test\sample.txt" /G administrators:F
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now