Results 1 to 2 of 2

Thread: Prevent file copying from a CD in Java

  1. #1
    Join Date
    Feb 2011
    Posts
    1

    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

  2. #2
    Join Date
    Dec 2007
    Posts
    1,742

    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)

Similar Threads

  1. Replies: 10
    Last Post: 09-01-2012, 06:48 AM
  2. Problem in copying a file in java
    By Messenger in forum Software Development
    Replies: 6
    Last Post: 04-08-2010, 11:09 AM
  3. Java code for copying text to the clipboard
    By Maya Angelou in forum Software Development
    Replies: 5
    Last Post: 22-03-2010, 02:04 PM
  4. How to prevent from duplicating catch blocks in java?
    By Kasper in forum Software Development
    Replies: 5
    Last Post: 16-02-2010, 07:09 PM
  5. Copying file to another drive!
    By MangeshS in forum Operating Systems
    Replies: 3
    Last Post: 17-09-2008, 06:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •