Re: Encrypt sqlconnectionstring on XML files
- From: "Peter Rilling" <peter@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 8 Jul 2005 16:53:51 -0700
I see your point. Okay, here is my take on that information. It is going
overboard. There is such a thing as too much security and Microsoft likes
to place all information in an envelop, which is placed in a box, wrapped
with a chain and a pad lock, placed in a safety deposit box in a bank, where
the entire bank itself is placed in a mile thick vault, finally dumped in
the deepest part of the ocean.
You don't what to expose passwords, but if you just use a trusted connection
then securing it is not really important. The name of the database is not
secret, in my opinion.
If you still need to encrypt the information, this article might get you
started --
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT09.asp.
"Luis Esteban Valencia" <levalencia@xxxxxxxxxxxx> wrote in message
news:e8LnxlAhFHA.3448@xxxxxxxxxxxxxxxxxxxxxxx
> 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.
> > >
> > >
> > >
> >
> >
>
>
.
- References:
- Encrypt sqlconnectionstring on XML files
- From: Luis Esteban Valencia
- Re: Encrypt sqlconnectionstring on XML files
- From: Peter Rilling
- Re: Encrypt sqlconnectionstring on XML files
- From: Luis Esteban Valencia
- Encrypt sqlconnectionstring on XML files
- Prev by Date: Re: Need Javascript - if user clicks in textbox, label not visible
- Next by Date: Re: Reccomended ways to add data-driven checkboxes/textboxes, etc?
- Previous by thread: Re: Encrypt sqlconnectionstring on XML files
- Next by thread: How to set the Attributes of a control in Template
- Index(es):
Relevant Pages
|