B
B
blabs2016-08-27 17:48:22
Information Security
blabs, 2016-08-27 17:48:22

How to restrict access to the database only from the IP of the server where the code itself is located?

Launched a website that accesses the database. There is a contest on the site. There were craftsmen who dumped the site, placed it on their local machines and began to break the database, trying to wind up their points.
Tell me, how can I restrict access to the database by server IP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2016-08-27
@alsopub

One gets the feeling that your problem is not with access to the database from other people's addresses, but simply there is an opportunity through requests like http://yoursite/set-score.php?score=12345 to set the desired score for yourself, since it is rare when the database is so it's open to everyone.
In general, more information is needed to make a diagnosis and prescribe treatment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question