DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Threaded View

  1. #1
    Join Date
    Feb 2007
    Posts
    10

    any way to copy protect your java applications?

    Hi,
    I need a way to copy protect a java application saved on a computer hard drive. Basically, without such protection, all someone needs to do is select all the class files, and then copy them to a CD-R or a floppy disc then paste it onto their own computer's hard drive. I know I cant disable the ability to copy class files, But an idea I had in mind was to write some code in the java program that will allow it to only run on a specified computer, otherwise, the java application will not function.

    I was thinking that the java program would perform a test which can tell it if it is being run on computer x, if it is not being run on computer x, then all GUI listeners will be disabled, rendering the program useless. The idea is not to prevent people from copying the class files, but to make it so that if they do, the java program will not function if it is run on any computer OTHER than my own, rendering the program useless.

    Is there any way for a java program to detect and recognize what computer it is being run on? Do computers have any signatures unique to their computer unit, such as a serial # or something that the java program can test for so it can know it is running on computer x or not?

    if anyone can help me out, I'd greatly appriciate it
    Last edited by bob2000; 03-12-2007 at 09:14 PM.

Similar Threads

  1. Java book
    By Lou in forum Java
    Replies: 9
    Last Post: 09-19-2007, 05:58 AM
  2. Replies: 2
    Last Post: 06-14-2006, 03:16 PM
  3. copy protect on a file
    By NagaRaju in forum .NET
    Replies: 0
    Last Post: 03-13-2002, 08:37 AM
  4. Deploying Java Applications
    By Gerry in forum Java
    Replies: 1
    Last Post: 11-22-2000, 11:19 AM
  5. Deploying Java Applications
    By Gerry in forum Java
    Replies: 1
    Last Post: 11-22-2000, 11:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links