Re: SQL Connection string passwords



Brian
The Encrypt Database="True" pair is really not necessary as the presence
of the Password-parameter itself turns on encryption for the connection.

Yes , since SQL Server 2005 and onwards SQL Server has more power protection
of users/password for applications use SQL Authentication.
If you are still concered I would recommedn you using Windows Authentiaction
rather SQL ,what do you think?





"Brian Stoop" <b.stoop@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23UioocJ3JHA.5244@xxxxxxxxxxxxxxxxxxxxxxx
I am concered that connections from an application that include usernames
and passwords in their connection strings, could be compromised by
analysing the connection traffic, and have the password revealed.

However I came across this statement here
http://www.connectionstrings.com/sql-server-2005-ce

-----------------
Use this connection string to enable encryption on the database.

Data Source=MyData.sdf;Encrypt Database=True;Password=myPassword;File
Mode=shared read;Persist Security Info=False;

The Encrypt Database="True" pair is really not necessary as the presence
of the Password-parameter itself turns on encryption for the connection.
-------------------

Is this statement " the Password-parameter itself turns on encryption for
the connection" apply to any connection strings to MS SQL databases?.


thanks, Brian





.



Relevant Pages

  • Re: Encryption of application configuration block
    ... If your trying to protect an Sql login password then instead create an Sql ... access to Sql Server objects based on the current users' Windows account. ... If your really must encrypt your connection strings here are some links, ... I come to secure the app.config file via encryption. ...
    (microsoft.public.dotnet.general)
  • Re: SQL Connection string passwords
    ... of the Password-parameter itself turns on encryption for the connection. ... since SQL Server 2005 and onwards SQL Server has more power ... Use this connection string to enable encryption on the database. ...
    (microsoft.public.sqlserver.security)
  • SQL Connection string passwords
    ... the connection traffic, ... Use this connection string to enable encryption on the database. ... the Password-parameter itself turns on encryption for the connection. ... the connection" apply to any connection strings to MS SQL databases?. ...
    (microsoft.public.sqlserver.security)
  • Re: Concurrent database access in SQL 2005 Mobile
    ... Please stick to having an "dummy" connection in Open State. ... SQL CE/Mobile has a background thread that flushes the changes ... they run for long hours and we have not seen memory leaks so far. ... then opens his work forms and it's in ...
    (microsoft.public.sqlserver.ce)
  • Re: Concurrent database access in SQL 2005 Mobile
    ... Please stick to having an "dummy" connection in Open State. ... So it is a kind of asynchronous commit which happens every 10 ... I am not sure of this claim as we have many applications built on SQL CE ... then opens his work forms and it's in ...
    (microsoft.public.sqlserver.ce)