Encrypt sqlconnectionstring on XML files






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: Base64 decoding - BUG????
    ... OK, from looking over your code, the problem is with your usage of the XML Text writer. ... This puts the XML writer in a valid state for a text string, and it will then output the base 64 correctly. ... 'create the CryptoStream object and encrypt ...
    (microsoft.public.dotnet.security)
  • RE: 2007 User Level Security
    ... encrypted string. ... the way I use it is to encrypt user names and passwords and store the ... Dim prp As Property ... Dim dbs As Object, prp As Variant ...
    (microsoft.public.access.modulesdaovba)
  • Re: Protecting Connection String Data from End-Users
    ... If the ACLed registry key is a bottleneck, you can also encrypt the ... connection string with a per-machine key using DPAPI and store the ... encrypted string it in web.config. ... The down side is that DPAPI isn't ...
    (microsoft.public.sqlserver.programming)
  • Re: Workable encryption in Tcl??
    ... The longest string would be about the length ... How to encrypt a string ... nothing about binary formats. ... ># Perform ECB mode encryption on a plaintext block of BINARY data. ...
    (comp.lang.tcl)
  • RE: Using Win32 CryptDecrypt to Decrypt RijndaelManaged
    ... I figured out how to use RijndaelManaged with AES in the C++ app. ... C++ crypto WILL successfully decrypt the .NET generated ... I am trying to write a Win32 app that can decrypt that string using the ... I can get both to encrypt and decrypt successfully in their own projects, ...
    (microsoft.public.platformsdk.security)

Loading