daydreamer Posted October 24, 2008 Share Posted October 24, 2008 I just realized that I can connect to my database remotely like this: $sql = mysql_pconnect('18.71.20.43', 'user', 'password'); I always thought the mysql database had to be on the same network as your web server running the PHP code. Is it secure to connect to a database over the Internet, using the above method, without encrypting the query's or information I plan to input/extract from the database? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/129952-is-remote-mysql-secure/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 24, 2008 Share Posted October 24, 2008 Any time information is sent over a connection that is not encrypted, it can be viewed if someone really wants to see it. If your queries or returned data could contain sensitive information that you don't want anyone to see, you would need to use an encrypted connection. Quote Link to comment https://forums.phpfreaks.com/topic/129952-is-remote-mysql-secure/#findComment-673687 Share on other sites More sharing options...
daydreamer Posted October 24, 2008 Author Share Posted October 24, 2008 cheers. yeh i thought so. looking into ssh Quote Link to comment https://forums.phpfreaks.com/topic/129952-is-remote-mysql-secure/#findComment-673695 Share on other sites More sharing options...
nadeemshafi9 Posted October 24, 2008 Share Posted October 24, 2008 cheers. yeh i thought so. looking into ssh good shh Quote Link to comment https://forums.phpfreaks.com/topic/129952-is-remote-mysql-secure/#findComment-673801 Share on other sites More sharing options...
daydreamer Posted October 24, 2008 Author Share Posted October 24, 2008 u mean ssh? Quote Link to comment https://forums.phpfreaks.com/topic/129952-is-remote-mysql-secure/#findComment-674010 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.