hi,
I want to protect a text file from being copied by anyone, when it is transferred in the USB device. the user must have a read and write access for that file.Please help me if anyone know how to do this stuff..........
Thanks in advance..
copy protect a file in USB
Page 1 of 12 Replies - 1939 Views - Last Post: 24 February 2010 - 03:27 AM
Replies To: copy protect a file in USB
#2
Re: copy protect a file in USB
Posted 23 February 2010 - 11:40 PM
This can be done at the file/folder level of the File System. Assuming you are using Windows, this would be done with NTFS. C/C++ isn't ideal for protection of files. In my opinion that's the responsibility of the File System, not a programming language.
#3
Re: copy protect a file in USB
Posted 24 February 2010 - 03:27 AM
This can be achieved with file permissions, which as no2pencil said, is not a programming language's responsibility.
There is another approach I can think of, which depends on the type of file. You can use encryption for this file, and make it only readable by your Own program (which can also write/edit that file). This way you can avoid the copy problem.
There is another approach I can think of, which depends on the type of file. You can use encryption for this file, and make it only readable by your Own program (which can also write/edit that file). This way you can avoid the copy problem.
Page 1 of 1

New Topic/Question
This topic is locked
MultiQuote






|