From: Navigateur on
Ok so what's my solution?
How do I make a software work only with "authorised" devices?

btw are you saying "Driver key" is not unique for every device? Or is
that what you mean by USB serial number, and is duplicatable? Or are
they different things?

Thanks N

On Sep 9, 1:37 pm, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> > Is "Driver key" or "Device Instance Path" unique for every single
> > device? Are they "un-spoofable" by the hardware manufacturer or by
> > someone using the hardware? I want an ID that the hardware
> > manufacturer cannot duplicate
>
> Usually, USB serial numbers are really unique, but, if the HW vendor wants - they can duplicate them.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

From: Navigateur on
Thanks for your reply.
Can you please tell me if the USB serial number be easily queried upon
device plug-in?

If I do only online authorisation, so that the software only installs
without questions if the device has a non-repeated authorised USB
serial number, but if somebody subsequently tries to install the
software with the same device USB serial number in future, they have
to type in a "reauthorisation code" that was automatically generated
and shown to the first person (and stored in a local file on their
computer so they can look it up), different upon each successful
authorisation... so they can still install their device on multiple
computers (i.e. using a "reauth" code that changes every time they do
so).

Would this work?
Can you tell me if USB serial numbers are written by the manufacturer
and can be anything?
And so, I can just ask them to supply me their list of serial numbers
and let my software check the plugged-in device against it, yes?

Many thanks,
N

On Sep 10, 3:34 pm, "Maxim S. Shatskih"
<ma...(a)storagecraft.com.no.spam> wrote:
> >How do I make a software work only with "authorised" devices?
>
> If you want to protect against _device vendor_ - then sorry, the task is unsolvable.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> ma...(a)storagecraft.comhttp://www.storagecraft.com

From: Dee Earley on
On 13/09/2010 17:22, Maxim S. Shatskih wrote:
>> Can you tell me if USB serial numbers are written by the manufacturer
>> and can be anything?
>
> Yes. Any string with some length limit.

Note that not all devices have them.

--
Dee Earley (dee.earley(a)icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
From: Manny on
On Sep 9, 1:50 pm, Navigateur <naveen.c...(a)gmail.com> wrote:
> Is "Driver key" or "Device Instance Path" unique for every single
> device? Are they "un-spoofable" by the hardware manufacturer or by
> someone using the hardware? I want an ID that the hardware
> manufacturer cannot duplicate in other devices or be
> manipulated manually by anybody.
>
> Does this exist?
> Can it be made to exist?
>
> I need this for anti-piracy.
> Any ideas?

The only device that I know to have a unique ID are network cards with
the MAC address and the CPU with it's ID which as you know may be
turned off.
For USB device, you would have to 'fingerprint' them in some ways.
Unless your company also makes the device itself of course.