fxp007
asked on
How to hide file in a shared directory to another user?
Is that possible to hide a file to another user in a shared directory?
For example, several users A,B,C... have accesses to a shared folder, A creates a file and want to make it hidden to other users except user C. Is that possible under windows share file system? thanks
For example, several users A,B,C... have accesses to a shared folder, A creates a file and want to make it hidden to other users except user C. Is that possible under windows share file system? thanks
you can hide it but you can deny access to specific folder/file from security tab of file/folder
ASKER
Is that possible to change some permissions of the file he want to hide to make it invisible to a certain users? I've tried but only make it uneditable.
A file is either hidden or not hidden. You can't hide it for specific users with what is built-in to Windows.
ASKER
What should I use to hide a file for specific users? A permission option?
If a 3rd party application exists - then you need one, but I am not aware of one. With what you have built-in to windows you simply can't tweak a permission to make this work.
Permissions either give you access to the file or not. You can make a file invisible with permissions.
You can make it hidden and enable Show Hidden Files And Folders for users you want to see the file and make sure this is not Enabled for users who you don't want to see it, but anything more than that requires a 3rd party application which I can't recommend as I don't know that one exists!!
Permissions either give you access to the file or not. You can make a file invisible with permissions.
You can make it hidden and enable Show Hidden Files And Folders for users you want to see the file and make sure this is not Enabled for users who you don't want to see it, but anything more than that requires a 3rd party application which I can't recommend as I don't know that one exists!!
As alanhardisty already mentioned. If you hide a file, it's hidden for all users. It's not possible in a normal windows environment to hide a file for some users in 1 map.
Therefor you need a 3rd party software that may can do that. It's has nothing to do with a permission option.
Therefor you need a 3rd party software that may can do that. It's has nothing to do with a permission option.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I think that the Access Based Enumeration is not quite the solution that he needs.
He need something that will hide certain files for certain users in the same map. And that the user who created the file is able to 'manage' the access to that file. Meaning that user A created a file and only user C is able to see that. When user A another file created only user B is allowed to see it and not user C. Both files are in the same map.
fxp007: Is this what you looking for?
He need something that will hide certain files for certain users in the same map. And that the user who created the file is able to 'manage' the access to that file. Meaning that user A created a file and only user C is able to see that. When user A another file created only user B is allowed to see it and not user C. Both files are in the same map.
fxp007: Is this what you looking for?
Good to know - thanks ChiefIT. Not come across that before. Nice to know that MS has that covered too!!
@bright12 - sounds perfect to me.
Well, we all agree you can't hide unless you prevent access to the file. ABE is only an alternative.
Another options is something like an admin share where you append a $sign in front of the share to hide it from everyone, but administrators can still access it.
Another options is something like an admin share where you append a $sign in front of the share to hide it from everyone, but administrators can still access it.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
As I stated before, I think that he wants that the user is able to decide who can see the file and who not. In other words, this should be done dynamically instead of static.
And we all agree that this is not possible.
And we all agree that this is not possible.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@rpartington
Just my advice : do never give FULL CONTROL to any end-user, even for Homedrives.
Modification right is enough for user to create, rename and delete.
This prevent users from modifying access rights themselves.
Let the full control to 1 admin account, backup account in my case
Then in this case, you can add a specific rights in the SECURITY tab for a specific user on a specific folder in the DENY READ & EXECUTE rights and DENY LIST FOLDER CONTENTS
Just my advice : do never give FULL CONTROL to any end-user, even for Homedrives.
Modification right is enough for user to create, rename and delete.
This prevent users from modifying access rights themselves.
Let the full control to 1 admin account, backup account in my case
Then in this case, you can add a specific rights in the SECURITY tab for a specific user on a specific folder in the DENY READ & EXECUTE rights and DENY LIST FOLDER CONTENTS
There is a program called Access Based Enumeration that will hide files from users that don't have access to it.