To encrypt a connection string

  • Hi,

    I'm writing a php program and I would like to know how I could encrypt only the connection string (if that’s possible) to connect to a database (SQL Server 2005 Express Edition).

    Web Server -----> connection string (Ciphertext) -----> SQL Server 2005

    Thanks in advance….

  • I don't think there is anything natively within PHP which will accomplish this. You may have to write a custom routine or use a third party product. However, if the php pages are compromised, they likely get the key to decrypt.

    K. Brian Kelley
    @kbriankelley

  • The best solution to protect data in transmission is to use a VPN of some sort.

    Otherwise, have you considered an HTTP endpoint with SSL?

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply