Folder 'Locking' Strategies?
-
I have recently been working on a project intended to lock (and / or hide) directories in Windows in some manners. Now the problem isn't actually coding it, but some strategies that I might use in order to achieve this.. What to look for? ((What I have currently implemented are simply the rename functions of folders in order to make them look like Control Panel / My Computer etc etc. And then the attributes (setting them as hidden / system / read-only)... I also had in mind 'zipping' a folder or a similar technique with a password or encryption from program-side or maybe adding an image to the 'zipped' file in order to make it look more 'innocent' but I don't know about that yet.)) Preferably it's something that can be achieved quickly (such as the attributes technique) rather than 'zipping' which takes quite some time - according to file size... Thanks!
-
I have recently been working on a project intended to lock (and / or hide) directories in Windows in some manners. Now the problem isn't actually coding it, but some strategies that I might use in order to achieve this.. What to look for? ((What I have currently implemented are simply the rename functions of folders in order to make them look like Control Panel / My Computer etc etc. And then the attributes (setting them as hidden / system / read-only)... I also had in mind 'zipping' a folder or a similar technique with a password or encryption from program-side or maybe adding an image to the 'zipped' file in order to make it look more 'innocent' but I don't know about that yet.)) Preferably it's something that can be achieved quickly (such as the attributes technique) rather than 'zipping' which takes quite some time - according to file size... Thanks!
Trapper-Hell wrote:
in order to make it look more 'innocent'
I know exactly what you mean! ;) This is really a function of the filesystem, not a specific program per se. For example, NTFS allows you to protect directories. You could, however, encrypt all files in a directory from your program. There are lots of classes which deal with cryptography in the framework.
-
I have recently been working on a project intended to lock (and / or hide) directories in Windows in some manners. Now the problem isn't actually coding it, but some strategies that I might use in order to achieve this.. What to look for? ((What I have currently implemented are simply the rename functions of folders in order to make them look like Control Panel / My Computer etc etc. And then the attributes (setting them as hidden / system / read-only)... I also had in mind 'zipping' a folder or a similar technique with a password or encryption from program-side or maybe adding an image to the 'zipped' file in order to make it look more 'innocent' but I don't know about that yet.)) Preferably it's something that can be achieved quickly (such as the attributes technique) rather than 'zipping' which takes quite some time - according to file size... Thanks!
Trapper-Hell wrote:
What I have currently implemented are simply the rename functions of folders in order to make them look like Control Panel / My Computer etc
Deception is not a safe protection method...
Trapper-Hell wrote:
And then the attributes (setting them as hidden / system / read-only)...
There is no read-only attribute on folders.
Despite everything, the person most likely to be fooling you next is yourself.