Re: best way for storing connectionstring



Dear Maileen,

Have a look at
http://msdn.microsoft.com/msdnmag/issues/03/11/ProtectYourData/default.aspx
However, if you don't need all that security I recommend you storing it in
the app.config or web.config.
You can read values from these files with AppSettingsReader.

Hope I helped you,

Michel van den Berg

"Maileen" <noemail@xxxxxxxxxx> schreef in bericht
news:OLQI1J26FHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> my application use a connectionstring to a database.
>
> I would like to know what is the best solution to store to
> connectionstring and to avoid to ask everytime to user to enter it, user
> and also password..
>
> thanks a lot,
> Maileen


.



Relevant Pages

  • Re: Manuel for ODBC
    ... >> If security is an issue, ... > be a reason to use a DSN. ... > Instead of setting up the connectionstring, ...
    (microsoft.public.fox.programmer.exchange)
  • Open Tab delimited file with ADO
    ... did anyone manage to opne a tab delimited file with ado? ... I managed to open it now, with this connectionstring: ... Security Info=False ...
    (borland.public.delphi.database.ado)
  • Re: static class confirmation
    ... connectionstring, it's a business rule who access what, and should therefore ... Good security calls for security all the way up the chain, ... database layer. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Zugriff auf SQL-Datenbank übers Netzwerk
    ... Ich habe jetzt eine Datenbank auf dem SQL-Server ... Vergiss mal diesen Connectionstring und schau ... Persist Security Info=False ... Programm mit welchen konkreten Namen ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)