Home › Forums › Back End › Connecting to database from another website secure? › Re: Connecting to database from another website secure?
July 17, 2012 at 12:48 pm
#106252
Participant
Some servers have limitations on including files on other servers, for security reasons. So you’ll have to test that. You can create additional MySQL users that you give read only access.
You could do it where you have a page that includes another page returning the information and let other sites link to that with an iFrame, like how facebook does it.
http://www.yoursite.com/comments?user=username:
$user = $_GET;
if (verifyusercode($user)){
include(schartsfile.php);
}
?>