Re: Secure PHP to remote Sybase server

From: Date: Wed, 06 Mar 2002 17:58:18 +0000
Subject: Re: Secure PHP to remote Sybase server
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-17518@lists.php.net to get a copy of this message
We were discussing this issue over in #php at irc.openprojects.net. I wasn't there for the whole conversation, but what was discussed was that there was no built-in encryption and that the only way to achieve this was with an SSL tunnel What I have done with MySQL is setup a user that can only login from the Web box (restricted by IP). So even if anyone found out the password, they wouldn't be able to use it. Maybe you could do the same thing? -w -- William Fong - wfong@mookandblanchard.com Phone: 626.968.6424 x210 | Fax: 626.968.6877 Wireless #: 805.490.7732 | Wireless E-mail: 8054907732@mobile.att.net ----- Original Message ----- From: "Dennis Khaw" <denniskhaw@netscape.net> To: <php-db@lists.php.net> Sent: Wednesday, March 06, 2002 9:33 AM Subject: [PHP-DB] Secure PHP to remote Sybase server : Hi Everyone, : : This is the setup: A front-end Sun Solaris 8 server running Apache and : mod php. A second server running Solaris 8 and Sybase. : : Clients with a web browser connects to the front-end server and submit a : query. Apache/php then opens a remote connection to Sybase on the second : server using the function sybase_connect("server". "dbuser", : "password") and processes the query. Everything works well. However, the : problem is that the dbuser password is sent cleartext across the wire. : : Is there a way to setup a secure connection between the 2 servers, or at : least have the dbuser's password encrypted? : : Thanks. : : Dennis : : : -- : PHP Database Mailing List (http://www.php.net/) : To unsubscribe, visit: http://www.php.net/unsub.php :

« previous php.db (#17518) next »