Hiding the folder from the explorer
-
Hello Every one. how one can hide file or folder from the explorer even it should not be visible when some one click on show hidden file and folder . is there any shell api for this .... Regards sarfaraz
-
Hello Every one. how one can hide file or folder from the explorer even it should not be visible when some one click on show hidden file and folder . is there any shell api for this .... Regards sarfaraz
You could mark it as a system folder, which will hide it until the "Hode protected operating system files" option is unchecked. You can use the SetFileAttributes[^] function to set the folder attributes to
FILE_ATTRIBUTE_SYSTEM
.0100000101101110011001000111001011101001
-
You could mark it as a system folder, which will hide it until the "Hode protected operating system files" option is unchecked. You can use the SetFileAttributes[^] function to set the folder attributes to
FILE_ATTRIBUTE_SYSTEM
.0100000101101110011001000111001011101001
Hi, Well, Ultimately you can not. You can hide it from casual 'browsers'. The situation is still that ultimately a designated administrator for a machine is considered 'the owner' of the contents of a drive, who has as such un restricted access to all files, stored on that machine. Anything short of that would leave the 'data Controller' unable to control the data. I think you refer to the MS Section of the disk (invisible to WinExplorer) from which the OS can be recovered. Part of the game is, that those sectors can 'NEVER'be written to by Users, hence it cannot contain any reportable personal data. :)
Bram van Kampen
-
Hello Every one. how one can hide file or folder from the explorer even it should not be visible when some one click on show hidden file and folder . is there any shell api for this .... Regards sarfaraz
At the very least, anyone with admin rights will always be able to see it. If nothing else, this is necessary for virus scanners and backup programs! Why is the standard hide flag not sufficient for your purpose? Maybe your problem can be solved in another way.