• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 121
  • Last Modified:

Can a UUID be used to authenticate a piece of software

When we install software on a hosting server, I want to prevent it from being copied to a new server without our knowledge    In other words, I want to tie a specific copy of our software to a specific server and I am looking for the best way to do this.    One thought I had would be to to read the server's UUID and compare it to an encrypted version of the UUID.   Someone told me that the UUID so this wouldn't work but that is not my impression.    

Are there other ways to uniquely identify the server that the software is on.    I can't guarantee that the fully qualified domain name will work because not all servers have the fqdn assigned.   What else can be done?
1 Solution
Giovanni HewardCommented:
Have you thought about using the MAC address of the NIC and/or the CPU ID?

final byte[] address = NetworkInterface.getNetworkInterfaces().nextElement().getHardwareAddress();
System.out.println("address = " + Arrays.toString(address));

Open in new window

efamilantAuthor Commented:
MAC addresses can be spoofed and change to much.    I'm thinking about using the vendor identifying number instead.  I can obtain it using wmic.    Unfortunately, because I am programming in Java, have to do a runtime call but so be it.
The concept "protect a software so that it can run only on the computers that are under my control" is old and has been sold by Aladdin (now safenet) for years. They have various solutions. You should contact them, because based on the sparse info you gave here, and on the small experience I have with their modern products, I cannot give a recommendation. Start here: http://www.safenet-inc.com/software-monetization-solutions/#content-left
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now