Check this article :
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html
They are using
*Apache
*mod_ssl
*openssl
*php
*mysql
/Micke
Nick Miles wrote:
I think modssl is not really what you want, an SSL enabled web server wont do
much for the PHP-MySQL connection.
Rather I
Certainly a useful article. But I should point out this doesnt deal with PHP-
MySQL encryption, only on the User-Apache end. See image:
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page4.html
What the other man was hoping to do (if I understood) was use a remote MySQL
database
Obviously it should be said that no matter what this set up would be more
dangerous than having a MySQL server behind the firewall where the
apache/php
server is hosted, also would be terribly slow.
Depending on your firewall, performance does not have to be slow. Firewalls
must be sized
Sorry seem to be confusing people here. I was trying to say it would be faster
behind the firewall than the way he is approaching it at present.
Currently he has:
MYSQL
|
---
USER -| INTERNET|- WEBSERVER
---
Where he wants
Nick,
I don't want to be pedantic but, just a quick comment,
Having MYSQL behind the DMZ won't prevent people from breaking into it.
If someone can pass through your firewall it'll be quite easy for that
person to get Mysql username and password from your php code and access
the data you try to
You bastion host the webserver, then bastion host the mysql box, and
put it either on a seperate DMZ, or at least a seperate host, and only
allow it to talk to the mysql db, and you bastion host the firewall, and
only allow http requests to the webserver in the DMZ. Tis the standard
way to
Dear All:
I use PHP to access remote MySQL database,
and I wish build SSL on their connection.
My web server is Apache 1.3.23
I know programing,but I don't know how to begin.
Can anybody help me. Just tell me how to begin.
Thank a lot.
I think modssl is not really what you want, an SSL enabled web server wont do
much for the PHP-MySQL connection.
Rather I think you'd want an SSL enabled MySQL, you can make then an SSL MySQL
client and server but not sure how then PHP would make use of that...it might
be easier to simply set