Protect files

I have a folder containing different multimedia files in my PC. I want my friends to listen and watch the files in the folder but not copying and deleting them. How can i do this in vb?
[185 byte] By [Fanta] at [2007-11-19 8:48:21]
# 1 Re: Protect files
Hopefully this link is useful:

http://www.dev-archive.com/forum/showthread.php?t=17468&highlight=prevent+copy

Hope it helps!:wave:
HanneSThEGreaT at 2007-11-10 3:40:29 >
# 2 Re: Protect files
Thanks so much Hanne it is useful but it couldn't help me to prevent copying and deleting.
Fanta at 2007-11-10 3:41:29 >
# 3 Re: Protect files
Will these links be of any help??

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/copyhookhandlers.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/shell_ext.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/icopyhook/icopyhook.asp


You have to be an expert programmer to do such kind of things coz you are going to set hook on Windows Shell.. These links will give a little insight...

hope this helps a bit....
Shuja Ali at 2007-11-10 3:42:29 >
# 4 Re: Protect files
this is not a vb programming issue.. take it to the windows OS issue forum and ask them how to share a folder to other (network) users with read-only permissions
cjard at 2007-11-10 3:43:34 >
# 5 Re: Protect files
Thanks every body! I just thaught that there is no easy trick to do it in windows, and i was looking for vb solution. That's why i posted it in vb 6 forum, which i a have an insight.

I am trying the apprach posted by vb_the_best... using hooks but not progress so far. Any approach is wel come!
Fanta at 2007-11-10 3:44:36 >