Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
AnswerRe: picturebox disappears? Pin
Christian Graus7-Nov-07 22:48
protectorChristian Graus7-Nov-07 22:48 
GeneralRe: picturebox disappears? Pin
I'm a beginner7-Nov-07 23:00
I'm a beginner7-Nov-07 23:00 
GeneralRe: picturebox disappears? Pin
Christian Graus7-Nov-07 23:18
protectorChristian Graus7-Nov-07 23:18 
GeneralRe: picturebox disappears? [modified] Pin
I'm a beginner7-Nov-07 23:38
I'm a beginner7-Nov-07 23:38 
AnswerRe: picturebox disappears? [modified] Pin
Anthony Mushrow8-Nov-07 0:03
professionalAnthony Mushrow8-Nov-07 0:03 
GeneralRe: picturebox disappears? [modified] Pin
I'm a beginner8-Nov-07 0:37
I'm a beginner8-Nov-07 0:37 
QuestionStore a key so that it is accessible by my application only Pin
jenspa7-Nov-07 21:19
jenspa7-Nov-07 21:19 
AnswerRe: Store a key so that it is accessible by my application only Pin
TJoe8-Nov-07 1:46
TJoe8-Nov-07 1:46 
The only way this would be truely possible is if a web service (or another type of service) encrypts the key before saving to disk. The user would have no access to the web service, and therefore could not get the password used to encrypt the file. You would then need to use the same service to decrypt the file before using.

This service could be a simply Windows Service running on the same box as your application. You could then set the service to run as a user with priviliges (for example, to a directory) that your real user doesn't have.

Basically, if your application (running as the user) can encrypt/decrypt the file then the user would be able to do it without your application. Some developers embed a password in their application binaries and use that for encryption and decryption. A technical user could extract the password from your binary (regardless of whether it's in .Net).

You can use impersonation[^] to launch applications as different users.



Take care,
Tom

-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com

QuestionRe: Store a key so that it is accessible by my application only Pin
jenspa8-Nov-07 3:11
jenspa8-Nov-07 3:11 
AnswerRe: Store a key so that it is accessible by my application only Pin
TJoe8-Nov-07 3:48
TJoe8-Nov-07 3:48 
GeneralRe: Store a key so that it is accessible by my application only Pin
Dan Neely8-Nov-07 3:37
Dan Neely8-Nov-07 3:37 
GeneralRe: Store a key so that it is accessible by my application only Pin
TJoe8-Nov-07 3:53
TJoe8-Nov-07 3:53 
QuestionAny library to get game statistics of CS 1.6?? Pin
mschoghatta7-Nov-07 20:55
mschoghatta7-Nov-07 20:55 
QuestionMS Access Connectivity - .NET CF C# Pin
Arsalan Mansoor7-Nov-07 20:45
Arsalan Mansoor7-Nov-07 20:45 
AnswerRe: MS Access Connectivity - .NET CF C# Pin
ChrisKo8-Nov-07 7:55
ChrisKo8-Nov-07 7:55 
QuestionC#.NEt windows form table layout panel control Pin
D i x y7-Nov-07 20:04
D i x y7-Nov-07 20:04 
AnswerRe: C#.NEt windows form table layout panel control Pin
il_masacratore7-Nov-07 21:17
il_masacratore7-Nov-07 21:17 
AnswerRe: C#.NEt windows form table layout panel control Pin
Stevo Z7-Nov-07 22:18
Stevo Z7-Nov-07 22:18 
QuestionFinal Steps... Help Please! Pin
kingletas7-Nov-07 20:01
kingletas7-Nov-07 20:01 
AnswerRe: Final Steps... Help Please! Pin
Christian Graus7-Nov-07 20:45
protectorChristian Graus7-Nov-07 20:45 
GeneralRe: Final Steps... Help Please! Pin
kingletas7-Nov-07 21:28
kingletas7-Nov-07 21:28 
QuestionWMI (System.management) problem Pin
michelle1237-Nov-07 19:43
michelle1237-Nov-07 19:43 
Question[Message Deleted] Pin
mrcsn7-Nov-07 17:30
mrcsn7-Nov-07 17:30 
AnswerRe: How can we assign on mouse move value to a label Pin
Sun Rays7-Nov-07 17:36
Sun Rays7-Nov-07 17:36 
GeneralRe: How can we assign on mouse move value to a label Pin
Christian Graus7-Nov-07 17:43
protectorChristian Graus7-Nov-07 17:43 

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.