Click here to Skip to main content
15,901,122 members
Home / Discussions / C#
   

C#

 
QuestionGetting primary keys from GetSchemaTable Pin
il_masacratore9-Oct-06 5:15
il_masacratore9-Oct-06 5:15 
QuestionPrinters installed on a remote PC Pin
Mircea Puiu9-Oct-06 4:54
Mircea Puiu9-Oct-06 4:54 
QuestionPopulating HTML fields in a AxWebBrowser Pin
kozu9-Oct-06 4:40
kozu9-Oct-06 4:40 
AnswerRe: Populating HTML fields in a AxWebBrowser Pin
led mike9-Oct-06 6:03
led mike9-Oct-06 6:03 
QuestionFind Application Environment at runtime Pin
pranu_139-Oct-06 4:38
pranu_139-Oct-06 4:38 
AnswerRe: Find Application Environment at runtime Pin
S. Senthil Kumar10-Oct-06 2:59
S. Senthil Kumar10-Oct-06 2:59 
GeneralRe: Find Application Environment at runtime Pin
pranu_1311-Oct-06 20:36
pranu_1311-Oct-06 20:36 
QuestionCannot determine an efficient encryption Model Pin
sleepless_b9-Oct-06 4:16
sleepless_b9-Oct-06 4:16 
I am building a server based (ASP) application in VS2005. Together with that, i have also built an accompanying small "Licencer" application to be used by the same person that performs the installation so as to create an encrypted file on the HD of the server.The encrypted file will maintain the variables under which the Application was licenced.

When the technician performing the installation runs "Licencer" he inputs the [Product Key], [number of max. concurrent users], [company name] and together with that, "Licencer" also retrieves from the server the [CPUID],[OS],[DATE]. Then, those data are combined in an XML Document which "Licencer" encrypts (using symmetric encryption) and stores in the HD of the server.

When the Application starts-up it will have to decrypt the file that "Licencer" created and check it against the current system variables to see if all things are ok. If not, should stop working (lock).

My question is how am i going to implement a secure model for the creation and safe strorage of the Symmetric Key on the server, in order for nobody to be able to use it from another application?

By reading various articles on symmetric encryption i found out that i can use DPAPI in order to encrypt the Symmetric Key in the Windows registry. That could work for me but how can i be sure that my application will be the only one that will be able to decrypt the DPAPI-encrypted string from the registry?

How will it be possible not to hard-code critical information?

Apart from these questions i am open to alternate ways of managing licencing information.

Thank you in advance. I wouldn't be posting this message but i have reached a dead end.


Vasilis
AnswerRe: Cannot determine an efficient encryption Model Pin
led mike9-Oct-06 5:05
led mike9-Oct-06 5:05 
GeneralRe: Cannot determine an efficient encryption Model Pin
sleepless_b9-Oct-06 5:52
sleepless_b9-Oct-06 5:52 
GeneralRe: Cannot determine an efficient encryption Model Pin
led mike9-Oct-06 6:02
led mike9-Oct-06 6:02 
QuestionRe: Cannot determine an efficient encryption Model Pin
beatles169210-Oct-06 2:43
beatles169210-Oct-06 2:43 
QuestionRe: Cannot determine an efficient encryption Model Pin
sleepless_b10-Oct-06 21:37
sleepless_b10-Oct-06 21:37 
AnswerRe: Cannot determine an efficient encryption Model Pin
beatles169211-Oct-06 19:33
beatles169211-Oct-06 19:33 
QuestionMore ArrayList problems. Pin
scotlandc9-Oct-06 3:33
scotlandc9-Oct-06 3:33 
AnswerRe: More ArrayList problems. Pin
Insincere Dave9-Oct-06 4:33
Insincere Dave9-Oct-06 4:33 
GeneralRe: More ArrayList problems. Pin
scotlandc9-Oct-06 4:44
scotlandc9-Oct-06 4:44 
GeneralRe: More ArrayList problems. Pin
Insincere Dave9-Oct-06 9:28
Insincere Dave9-Oct-06 9:28 
AnswerRe: More ArrayList problems. Pin
lmoelleb9-Oct-06 20:42
lmoelleb9-Oct-06 20:42 
QuestionEmail without an smtp server Pin
numbers1thru99-Oct-06 3:28
numbers1thru99-Oct-06 3:28 
AnswerRe: Email without an smtp server Pin
led mike9-Oct-06 4:59
led mike9-Oct-06 4:59 
GeneralRe: Email without an smtp server Pin
eggsovereasy9-Oct-06 9:44
eggsovereasy9-Oct-06 9:44 
GeneralRe: Email without an smtp server Pin
led mike9-Oct-06 11:47
led mike9-Oct-06 11:47 
QuestionHow do I capture packets sent to a specific application? Pin
Igor Lima9-Oct-06 3:26
Igor Lima9-Oct-06 3:26 
AnswerRe: How do I capture packets sent to a specific application? Pin
aamironline9-Oct-06 5:15
aamironline9-Oct-06 5:15 

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.