Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a folder (lets say, "Folder X"), and inside it a file "Y.doc". How can I share the whole folder, except that one file, in Windows XP?

share|improve this question

When a user accesses a file via a network share he/she requires both: permissions on the file share and permissions on the file itself.

Therefore if you want to prevent a specific user from accessing a file you can change the ACL of that file and deny all access to that file for that user. The user will be able to see the file-name in the share but it is impossible to read or change the file content.

Warning: Don't deny file access to all users or a group you are member of - otherwise you would also loose read/write access to that file because deny ACL entries have a higher priority that standard grant ACL entries.

share|improve this answer
How do I modify the ACL? – Inkbug Jul 19 '12 at 8:02
Open the context menu of the file, select Properties. In the opened dialog select the security tab and press the Edit button. – Robert Jul 19 '12 at 8:56
I don't see any security tab in Windows XP – Inkbug Jul 19 '12 at 10:47
Then you have only XP Home edition and you are not part of a domain. Hence the solution will not work for you. – Robert Jul 19 '12 at 10:58
@Inkbug you must disable „simple file sharing” in folder options to get the security tab. – kinokijuf Jul 19 '12 at 12:57

You could hide the file, and if someone on the network has shared file viewing disabled they won't see it?

share|improve this answer
I want the file to be totally inaccessible. – Inkbug Jul 19 '12 at 7:49
It might be better to put in a different folder, as far as I'm aware there's no way of changing the sharing to that level of detail. You could try editing the permissions? – Diamond Jul 19 '12 at 7:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.