I have been seeking around to get answer to my following question but no relevant information could be found by me. Hope, I could get it here.
First of all, let me be clear. I am using all the thing in windows OS. So answer must be in that domain too.
My basic problem is that I am using python to play around with folder security in windows. I have ended up using pywin32 module but I ended up messing around with ACL(Access Control List) which I could do with regular windows. This is 50% of what I am trying to do.
Now I am trying to hide my folder using this code-
win32api.SetFileAttributes('filename',win32con.FILE_ATTRIBUTE_HIDDEN)
The file is hidden but it is visible(in windows OS) when I used the "show hidden files and folder" option with "Hide protected Operating system Files" . I have seen applications which can hide folder in the way they still could not be seen in the above
settings. That is what I want to achieve.
So, please tell me if there is a way in python or any other language to achieve that so that the folder remains hidden even with if the windows "Show hidden files and folder" option is checked?