Click here to Skip to main content
15,897,273 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get whole content of a frame source from webbrowser Pin
Member 44178929-Mar-09 6:34
Member 44178929-Mar-09 6:34 
QuestionSigning a dll using Visual Studio 2008 in Windows Vista Pin
Nadia Monalisa9-Mar-09 5:14
Nadia Monalisa9-Mar-09 5:14 
QuestionDrawing multiple rectangles Pin
preethi_d209-Mar-09 5:13
preethi_d209-Mar-09 5:13 
AnswerRe: Drawing multiple rectangles Pin
dan!sh 9-Mar-09 5:38
professional dan!sh 9-Mar-09 5:38 
AnswerRe: Drawing multiple rectangles Pin
musefan9-Mar-09 5:47
musefan9-Mar-09 5:47 
AnswerRe: Drawing multiple rectangles Pin
Dragonfly_Lee9-Mar-09 20:02
Dragonfly_Lee9-Mar-09 20:02 
QuestionTcpClient with proxy Pin
Johan Martensson9-Mar-09 4:58
Johan Martensson9-Mar-09 4:58 
QuestionBest Practice with saving Passwords Pin
francis-099-Mar-09 4:41
francis-099-Mar-09 4:41 
Hi,

I'd like to save a combination of username and password in a XML file, so the user won't be bothered to type his username and password every time he runs the program.
So far I have followed this article http://www.codeproject.com/KB/security/ProtectYourXmlData.aspx and written some piece of code, which encrypts and writes the username and password to a XML file. It also decrypts them after reading from the file.
Big disadvantage of my code is, that the password is hard-coded into my application Frown | :(
Is there a best practice where the "master-password" should be put? Perhaps into the application.config or the user.config?

Greetz,
Francis
AnswerRe: Best Practice with saving Passwords Pin
Yusuf9-Mar-09 4:56
Yusuf9-Mar-09 4:56 
AnswerRe: Best Practice with saving Passwords Pin
Eddy Vluggen9-Mar-09 4:57
professionalEddy Vluggen9-Mar-09 4:57 
GeneralRe: Best Practice with saving Passwords Pin
francis-099-Mar-09 7:49
francis-099-Mar-09 7:49 
AnswerRe: Best Practice with saving Passwords Pin
musefan9-Mar-09 5:42
musefan9-Mar-09 5:42 
GeneralRe: Best Practice with saving Passwords Pin
francis-099-Mar-09 7:46
francis-099-Mar-09 7:46 
GeneralRe: Best Practice with saving Passwords Pin
musefan9-Mar-09 8:05
musefan9-Mar-09 8:05 
AnswerRe: Best Practice with saving Passwords Pin
harold aptroot9-Mar-09 5:50
harold aptroot9-Mar-09 5:50 
GeneralRe: Best Practice with saving Passwords Pin
Kin Tutnik18-May-10 12:43
Kin Tutnik18-May-10 12:43 
GeneralRe: Best Practice with saving Passwords Pin
harold aptroot18-May-10 12:55
harold aptroot18-May-10 12:55 
QuestionNo reporting items in toolbox Pin
Programm3r9-Mar-09 4:16
Programm3r9-Mar-09 4:16 
AnswerRe: No reporting items in toolbox Pin
Programm3r9-Mar-09 5:02
Programm3r9-Mar-09 5:02 
Questionclose WiFi and BT in WinCE Pin
E_Gold9-Mar-09 4:01
E_Gold9-Mar-09 4:01 
QuestionExecute assembly which is written both in c++ and c# from NUnit Pin
naamalev9-Mar-09 3:06
naamalev9-Mar-09 3:06 
AnswerRe: Execute assembly which is written both in c++ and c# from NUnit Pin
N a v a n e e t h9-Mar-09 4:14
N a v a n e e t h9-Mar-09 4:14 
QuestionError in creating control Child nodes not allowed Pin
Murtuza Husain Miyan Patel9-Mar-09 3:05
professionalMurtuza Husain Miyan Patel9-Mar-09 3:05 
AnswerRe: Error in creating control Child nodes not allowed Pin
DaveyM699-Mar-09 3:14
professionalDaveyM699-Mar-09 3:14 
Questionproject doubt Pin
vinithakizhussery9-Mar-09 3:03
vinithakizhussery9-Mar-09 3:03 

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.