Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Would be happy to know if there's a way to prevent users to copy files from a directory under local file system to somewhere else(e.g. to USBs, or to another folder in the same local file system)?

Great thanks.

*Solutions aiming at windows 7 are welcomed and greatly appreciated, thank you!

EDIT: It would be great if I can also limit the directory to be only accessible(readable) by a .exe file.

share|improve this question
    
Does the user have a need to access (read) these files at all? –  haimg Jun 10 '12 at 5:08
    
Yes, to be exact, they can only read them. –  Tom Jun 10 '12 at 5:10
6  
If they can read them, they can copy them, period. Copying is an act of reading a file, creating a new file somewhere else and writing the contents you just read into that new file. –  haimg Jun 10 '12 at 5:11
    
Thank you haimg, how about allowing them to access(read/copy) the files for 5000 milliseconds then disable the whole directory again? –  Tom Jun 10 '12 at 5:13
3  
Couldn't you just disable access to everything else? Might end up being simpler. –  Journeyman Geek Jun 10 '12 at 5:28

1 Answer 1

EDIT: It would be great if I can also limit the directory to be only accessible(readable) by a .exe file.

Encrypt your files and use your .exe file to decrypt and display contents.

Or use some similar method to restrict access, for example through some service that has access to files and then connect your application to that service. For example, many web services works just like that: users can see contents but copying source files is not too easy.

Of course everything that can be viewed somehow can also be copied somehow, all you can do is making it harder or not worth to do it.

share|improve this answer

Your Answer

 
discard

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.