Re: Encrypt sqlconnectionstring on XML files



Read this.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/AppArchCh3.asp
on the configuration section they dont recommend to put connection strings
on XML configuration files. So where to put them? How to deploy them to the
customer??


"Peter Rilling" <peter@xxxxxxxxxxxxxxxxxx> escribió en el mensaje
news:uangkYAhFHA.1416@xxxxxxxxxxxxxxxxxxxxxxx
> Why would you need to encrypt the connection string? If you use a trusted
> connection (meaning now username and password is stored in the string),
then
> there is no private information that needs to be encrypted.
>
> "Luis Esteban Valencia" <levalencia@xxxxxxxxxxxx> wrote in message
> news:eb7dVUAhFHA.1052@xxxxxxxxxxxxxxxxxxxxxxx
> >
> >
> >
> > Hello I want to encrypt the sqlconenction string on the xml
> > configuration files.
> >
> > The problem is the following
> > I have an application at my company that accesses a sql server
local
> > database. this database connection string is in a file called
appconf.xml
> > in my class library called DataAccessLogicLayer.
> >
> > If I encrypt the connection string what should I do when I deploy
to
> > customer? how should they change the connection string if that XML file
is
> > encryped.
> >
> >
> >
>
>


.



Relevant Pages

  • Re: Encrypt sqlconnectionstring on XML files
    ... There is such a thing as too much security and Microsoft likes ... If you still need to encrypt the information, ... > on XML configuration files. ... >> Why would you need to encrypt the connection string? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Encrypt sqlconnectionstring on XML files
    ... Hello I want to encrypt the sqlconenction string on the xml ... If I encrypt the connection string what should I do when I deploy to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Encryption of Connection String
    ... Do you know what level of encryption IS applied to the connection string? ... > to the SQL Server via SQL authentication the password is only ... Thus you might have made all this effort to encrypt the ... > Authentication is always the preferred option unless you are using ...
    (microsoft.public.sqlserver.security)
  • ConnectionString encryption decryption
    ... Decrypt function used to encrypt and decrypt the connection string pass to ... at System.EnterpriseServices.Thunk.Proxy.CoCreateObject(Type serverType, ...
    (microsoft.public.dotnet.general)
  • Re: Help Encrypting Connection String
    ... but I have to do it on SQL Server instead of SQL ... If I'm retrieving the connection string in my own code, ... > in 2.0 you can encrypt nearly all config section out of the box using the ... >> the config file, but .NET 2.0 has more options. ...
    (microsoft.public.dotnet.framework.aspnet.security)