Prevent file copying from a CD in Java
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.
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.
- 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)
|Tags: code, java, java course, library file, source code|
|Thread Tools||Search this Thread|
|Similar Threads for: "Prevent file copying from a CD in Java"|
|Thread||Thread Starter||Forum||Replies||Last Post|
|getting Error splicing file: Input/output error while copying file in ubuntu||Rajni||Operating Systems||10||09-01-2012 06:48 AM|
|Problem in copying a file in java||Messenger||Software Development||6||04-08-2010 11:09 AM|
|Java code for copying text to the clipboard||Maya Angelou||Software Development||5||22-03-2010 02:04 PM|
|How to prevent from duplicating catch blocks in java?||Kasper||Software Development||5||16-02-2010 07:09 PM|
|Copying file to another drive!||MangeshS||Operating Systems||3||17-09-2008 06:43 PM|