Anti-Rich
Well-known member
Hi All,
i have a question which i hope someone can answer... i am trying to store a username and encrypted password inside the My.Settings area of my application (the Settings.vb file)... now everytime i try to access/change the setting i created (at the moment i have only created username), it spits out the error "Configuration System failed to initialize". have i forgotten to enable something in my project in order for this to initialize?
another question i have is this... i have been told that it is bad security procedure to store a password in a config file (this is obvious due to the fact that it can easily be accessed by anyone), but does this still apply if it has been encrypted? the reason i ask is because i will only ever have one sort of username/password combination for my database, and i dont know where to store it other than the config file.
if someone could clarify either one of these points (or better yet both!
) i would be really grateful
cheers
adam
i have a question which i hope someone can answer... i am trying to store a username and encrypted password inside the My.Settings area of my application (the Settings.vb file)... now everytime i try to access/change the setting i created (at the moment i have only created username), it spits out the error "Configuration System failed to initialize". have i forgotten to enable something in my project in order for this to initialize?
another question i have is this... i have been told that it is bad security procedure to store a password in a config file (this is obvious due to the fact that it can easily be accessed by anyone), but does this still apply if it has been encrypted? the reason i ask is because i will only ever have one sort of username/password combination for my database, and i dont know where to store it other than the config file.
if someone could clarify either one of these points (or better yet both!
cheers
adam