Click here to Skip to main content
15,905,914 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: whether or not Save Credit Card Info? Pin
Tom Deketelaere15-Sep-09 1:39
professionalTom Deketelaere15-Sep-09 1:39 
AnswerRe: whether or not Save Credit Card Info? Pin
David Skelly15-Sep-09 2:35
David Skelly15-Sep-09 2:35 
GeneralRe: whether or not Save Credit Card Info? Pin
Christian Graus15-Sep-09 10:36
protectorChristian Graus15-Sep-09 10:36 
AnswerRe: whether or not Save Credit Card Info? Pin
DaveAuld15-Sep-09 23:34
professionalDaveAuld15-Sep-09 23:34 
QuestionError while running program Pin
Anubhava Dimri14-Sep-09 18:03
Anubhava Dimri14-Sep-09 18:03 
AnswerRe: Error while running program Pin
Christian Graus14-Sep-09 18:10
protectorChristian Graus14-Sep-09 18:10 
GeneralRe: Error while running program Pin
Anubhava Dimri14-Sep-09 18:32
Anubhava Dimri14-Sep-09 18:32 
GeneralRe: Error while running program Pin
Christian Graus14-Sep-09 18:58
protectorChristian Graus14-Sep-09 18:58 
QuestionVB 2008 Express Database Access Pin
eRoarke14-Sep-09 12:07
eRoarke14-Sep-09 12:07 
AnswerRe: VB 2008 Express Database Access Pin
Eddy Vluggen14-Sep-09 13:02
professionalEddy Vluggen14-Sep-09 13:02 
QuestionCreate / Copy Container Pin
QuickBooksDev14-Sep-09 12:03
QuickBooksDev14-Sep-09 12:03 
AnswerRe: Create / Copy Container Pin
Eddy Vluggen14-Sep-09 13:07
professionalEddy Vluggen14-Sep-09 13:07 
QuestionAbout code protection. Pin
Hurricane300014-Sep-09 9:59
Hurricane300014-Sep-09 9:59 
AnswerRe: About code protection. Pin
εїзεїзεїз14-Sep-09 10:56
εїзεїзεїз14-Sep-09 10:56 
GeneralRe: About code protection. [modified] Pin
Hurricane300014-Sep-09 11:28
Hurricane300014-Sep-09 11:28 
GeneralRe: About code protection. Pin
Christian Graus14-Sep-09 13:40
protectorChristian Graus14-Sep-09 13:40 
GeneralRe: About code protection. Pin
Hurricane300014-Sep-09 21:12
Hurricane300014-Sep-09 21:12 
AnswerRe: About code protection. Pin
CyberSamuraiii16-Sep-09 2:31
CyberSamuraiii16-Sep-09 2:31 
GeneralRe: About code protection. Pin
Hurricane300016-Sep-09 8:46
Hurricane300016-Sep-09 8:46 
GeneralRe: About code protection. Pin
CyberSamuraiii16-Sep-09 10:19
CyberSamuraiii16-Sep-09 10:19 
Er okay Ignazio,

First thing, the example you gave is a poor attempt at security. Why? nothing stops someone from simply using the same full Name + a registration no A.K.A key on another device! because your application is designed to accept any valid key, so if my friend bought a key i could just borrow it and use his name and I could just take the same app and replicate it on several devices, or worse if i crack the algo on it i could make my own keys to sell because the keys and en/decryption technique are stored locally on the device, not a good idea. However if this is sufficient "protection" for your app then hey who am i to talk... as for how it works? there way too many books that could best educate you on that Smile | :)

If all else fails u can also try

1. a query for a unique ID of the mobile device through lineGetGeneralInfo or such similar API i.e.TAPI functions. check out msdn for more info here
http://msdn.microsoft.com/en-us/library/aa458219.aspx[^] or make another small app just to extract that serial.

2. once your application extracts the serial/IMEI number of the device and displays it to the user, they can then enter it on say your website where they have a registered account. in other words they pay for the license and can then login onto your website where your server side encryption algorithm is running.

3. They can now enter the serial as displayed on the mobile device and receive an instant key unique to there device.

4. When the user fires up the application on their device, it will check the serial against the stored key before starting. This way you keep your key encryption technique away from prying curiosity of would be crackers. you will need to make changes to your application to incorporate security i.e. decrypting the key against the serial of the device. there are several readily available techniques to do this. in fact i think there's an entire .net class that can help you do this check out on msdn.

Anyway hope i helped a little,
All the best
GeneralRe: About code protection. Pin
Hurricane300016-Sep-09 10:52
Hurricane300016-Sep-09 10:52 
GeneralRe: About code protection. Pin
CyberSamuraiii16-Sep-09 20:34
CyberSamuraiii16-Sep-09 20:34 
QuestionEXCEL VBA Pin
veon cheng14-Sep-09 1:09
veon cheng14-Sep-09 1:09 
AnswerRe: EXCEL VBA Pin
Christian Graus14-Sep-09 1:15
protectorChristian Graus14-Sep-09 1:15 
GeneralRe: EXCEL VBA Pin
veon cheng14-Sep-09 1:29
veon cheng14-Sep-09 1:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.