PHP MySQL bridge: How to make connection more secure

PHP MySQL bridge: How to make connection more secure

This article provides suggestions on how to make your connection via PHP MySQL Bridge more secure.

  1. Internal PHP MySQL Bridge login/password system
    At the top of bridge.php there are login/password pair - you need to change them right when installing PHP MySQL Bridge
  2. Limit access to bridge.php from your IP/subnet only
    Create a file and name it .htaccess with the content below
    <Files bridge.php>
    order deny,allow
    deny from all
    allow from 888.888.888.888
    </Files>

    Please change 888.888.888.888 to the ip you want to allow
    Read more here

  3. Access PHP MySQL Bridge via SSL-protected connection only
    You need to make following changes in .htaccess file. Please contact your hosting provider if you don't know how to do this.

    <Files bridge.php>
    <IfModule mod_ssl.c>
    SSLRequireSSL
    </IfModule>
    <IfModule !mod_ssl.c>
    # no non-ssl access
    order deny,allow
    deny from all
    </IfModule>
    </Files>
  4. Rename bridge.php to something specific
    nobody except you should know name of this file

If you have any other ideas - please suggest it