How to protect my app

P

Pablo Carrizo

I´m developing a mobile app WM6 + CF 3.5 + C#.
My idea is that when the customers install the app, it´s ask for a serial
key.... anybody has any link or paper or sample about how to do it ?

Thanks a lot.
 
P

Paul G. Tobey [eMVP]

There are no samples, at least from Microsoft. Having a sample would be the
same as saying, here's the best way to do this. There are a thousand ways to
do it.

Get the device ID, use that to generate a user ID using some public key
encryption technology, and have the user send you that encrypted data. Send
back a key code encrypted with the application's public key and which you
decode using the private key internally. If the code doesn't 'match' the
device ID, don't run.

Or just send the user a keycode public-key encrypted. Use the private key
in the application to verify that the keycode is valid and, if not, don't run.

Ask for a serial number and just verify that it passes some test that you
apply to it.

Etc, etc, etc.

Paul T.
 
P

Paul G. Tobey [eMVP]

Theoretically, yes, on Windows Mobile devices. Over the years, there have
been various problems with that, but having it be unique is the intent.
Other Windows CE-based embedded devices can do whatever they want.

Paul T.
 
A

Alberto Silva, MVP

Unfortunatelly, some recent HP devices share the same 'unique ID' across
them, just as the LG GM750 (Vodafone) does.

--
Alberto Silva
myList.Add("http://www.moving2u.pt", "R&D Manager - Microsoft Certified
Partner - Mobility Solutions");
myList.Add("http://msmvps.com/AlbertoSilva", "Blog - Microsoft MVP - Device
Application Development");

Paul G. Tobey said:
Theoretically, yes, on Windows Mobile devices. Over the years, there have
been various problems with that, but having it be unique is the intent.
Other Windows CE-based embedded devices can do whatever they want.

Paul T.

Pablo Carrizo said:
Thanks Paul.
So, the device ID is unique among mobile devices ?

"Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> escribió en
el
mensaje news:[email protected]...
There are no samples, at least from Microsoft. Having a sample would
be
the
same as saying, here's the best way to do this. There are a thousand
ways
to
do it.

Get the device ID, use that to generate a user ID using some public key
encryption technology, and have the user send you that encrypted data.
Send
back a key code encrypted with the application's public key and which
you
decode using the private key internally. If the code doesn't 'match'
the
device ID, don't run.

Or just send the user a keycode public-key encrypted. Use the private
key
in the application to verify that the keycode is valid and, if not,
don't
run.

Ask for a serial number and just verify that it passes some test that
you
apply to it.

Etc, etc, etc.

Paul T.

:

I´m developing a mobile app WM6 + CF 3.5 + C#.
My idea is that when the customers install the app, it´s ask for a
serial
key.... anybody has any link or paper or sample about how to do it ?

Thanks a lot.


.


.

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4956 (20100318) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4956 (20100318) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

SqlCE Compact Edition version 4
OpennetCF 4
Please help with plug-in 3
custom list view control 2
Shorcut 1
Bluetooth + CF 2
App Configuration File 2
How to upgrade a mobile application? 2

Top