Click here to Skip to main content
15,906,081 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWow this is a mess Pin
palbano25-Aug-04 18:55
palbano25-Aug-04 18:55 
GeneralRe: Wow this is a mess Pin
Tom Wright26-Aug-04 5:54
Tom Wright26-Aug-04 5:54 
GeneralRe: Wow this is a mess Pin
palbano26-Aug-04 7:59
palbano26-Aug-04 7:59 
GeneralWindow Position Pin
Anthony988725-Aug-04 8:54
Anthony988725-Aug-04 8:54 
GeneralRe: Window Position Pin
Maximilien25-Aug-04 9:00
Maximilien25-Aug-04 9:00 
GeneralRe: Window Position Pin
Anthony988725-Aug-04 9:07
Anthony988725-Aug-04 9:07 
QuestionSaving password to registry? Pin
mcguile25725-Aug-04 8:16
mcguile25725-Aug-04 8:16 
AnswerRe: Saving password to registry? Pin
Antony M Kancidrowski25-Aug-04 9:48
Antony M Kancidrowski25-Aug-04 9:48 
AnswerRe: Saving password to registry? Pin
David Crow25-Aug-04 10:19
David Crow25-Aug-04 10:19 
GeneralRe: Saving password to registry? Pin
darkbyte25-Aug-04 10:36
darkbyte25-Aug-04 10:36 
GeneralRe: Saving password to registry? Pin
David Crow25-Aug-04 10:52
David Crow25-Aug-04 10:52 
GeneralRe: Saving password to registry? Pin
darkbyte26-Aug-04 5:00
darkbyte26-Aug-04 5:00 
AnswerRe: Saving password to registry? Pin
cmk25-Aug-04 13:22
cmk25-Aug-04 13:22 
AnswerRe: Saving password to registry? Pin
l a u r e n25-Aug-04 15:45
l a u r e n25-Aug-04 15:45 
GeneralRe: Saving password to registry? Pin
ThatsAlok25-Aug-04 21:53
ThatsAlok25-Aug-04 21:53 
GeneralRe: Saving password to registry? Pin
darkbyte26-Aug-04 4:46
darkbyte26-Aug-04 4:46 
I think it all depends on the level of protection you require on the password

You may or may not need the password to be decrypted which imposes 2 different ways of storing the data.

1) Need to decrypt

This is a weak way of storing a password because it can be decrypted but one might find this easier to handle since they can display the password after or send it by e-mail etc.

2) No need to decrypt

You store a non-decryptable version of the password or user/pass (if it applies) then when you need to validate the password, you encrypt the source data (password or user/pass) and compare versus what's found in your storage (registry). This also has the advantage that you will mostly never have the password unencrypted in process memory except for the source data which isnt guaranteed to match.

Once you decided on how you want to handle storage, you can better decide which encryption method you're going to use. Remember that each encryption system has its strengths and its weaknesses.
AnswerRe: Saving password to registry? Pin
JimmyRopes26-Aug-04 9:33
professionalJimmyRopes26-Aug-04 9:33 
GeneralDesign question (working with ATL OLE DB classes).... Pin
CherezZaboro25-Aug-04 7:32
CherezZaboro25-Aug-04 7:32 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
Doug Mitchell25-Aug-04 8:44
Doug Mitchell25-Aug-04 8:44 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
CherezZaboro25-Aug-04 15:55
CherezZaboro25-Aug-04 15:55 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
Ryan Binns25-Aug-04 18:31
Ryan Binns25-Aug-04 18:31 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
CherezZaboro26-Aug-04 3:34
CherezZaboro26-Aug-04 3:34 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
palbano25-Aug-04 19:50
palbano25-Aug-04 19:50 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
CherezZaboro26-Aug-04 3:45
CherezZaboro26-Aug-04 3:45 
GeneralRe: Design question (working with ATL OLE DB classes).... Pin
palbano26-Aug-04 4:34
palbano26-Aug-04 4:34 

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.