Prevent file copying from a CD in Java
Hello,
I am new to the Tech Arena forum.
I have taken a Java course in college back in 2004.
What they haven't taught me is file and Cd Volume manipulation.
I want to know that if it's possible that a user can create a source code
for prevent CD from copying to any other drive or to any other CD?
I may have figured it is the Java.io library file, and its permissions sub-library files.
I may have known that user goes by the Try..Catch...Finally exception conditional command.
Here's the scenario:
A user burns a file onto a CD which program source code is backed up
by a conditional Try...Catch exception for User that tries to copy any content of the CD volume.
If the scenario is correct, then will anybody will provide me some source code examples?
Thanks in advance.
JohnP11
Re: Prevent file copying from a CD in Java
If you are just concerned that somebody will write/overwrite data to your local drive (or application folder), you should try to set the permisson for the specified users. Only those users are able to access applicaion folder or logon the workstation.
e.g.
- local applicaion folder for domain group A users access only
- OR set computer account for domain group A users access only in SECURITY TAB (in AD)