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
kishore_peddiAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jeffrashConnect With a Mentor Commented:
Is the drive an NFTS ot FAT volume? You need to convert it to an NTFS volume to get the security option.
0
 
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
Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

 
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
 
Rich RumbleSecurity SamuraiCommented:
You need to disable simple file sharing: http://support.microsoft.com/kb/307874
it will appear after that.
-rich
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.