Home All Groups Group Topic Archive Search About

using app.config file

Author
9 Jul 2006 11:00 AM
c_shah
Why do  you want to store database connection string inside application
configration file app.config in case of windows forms application?
Someone told me that it can be changed easily changed once application
is deployed. Can anyone explain? Thanks!

Author
9 Jul 2006 2:02 PM
John Timney (MVP)
Config files make updating settings etc. a very easy thing to do as the
config files are just text files.  Anyone can in theory alter these who has
permissions to the directory in which it resides.  There are however ways to
encrypt the strings, so you can secure your credentials and they are not
easily reusable.

http://www.developer.com/net/vb/article.php/3500906

--
Regards

John Timney (MVP)


Show quoteHide quote
"c_shah" <shah.chi***@netzero.net> wrote in message
news:1152442831.399635.127520@h48g2000cwc.googlegroups.com...
> Why do  you want to store database connection string inside application
> configration file app.config in case of windows forms application?
> Someone told me that it can be changed easily changed once application
> is deployed. Can anyone explain? Thanks!
>