troubleshooting Question

Protecting mySQL/PHP data which creates Google Map content

Avatar of Nehemiah1
Nehemiah1 asked on
JavaScriptPHPMySQL Server
8 Comments3 Solutions543 ViewsLast Modified:
I have created a Google Map which uses data from a mySQL database. The records are retrieved and dumped in php using .json_encode. This is then parsed into Javascript with AJAX for Google Maps to create markers and other information.

I would like to secure the php file which is pretty easily accessible if you so happen to know the name of the file. One suggestion is to limit access to the script by authenticating the client using session cookies. With my novice understanding; is there any way to limit access to the php file directly by authentication and otherwise indirectly verifying the presence of a session cookie in the AJAX request.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros