Vesta 2.0 is coming soon! See our progress update: https://vestacp.com/docs/vesta-2-update
Search found 1 match
- Fri Apr 07, 2017 1:41 pm
- Forum: Web Server
- Topic: [GUIDE] Secure PhpMyAdmin
- Replies: 26
- Views: 497048
Re: [GUIDE] Secure PhpMyAdmin
All these precautions are good, but I have applied an extra security layer which is best to stop brute-forcing.
Example:-
create a php function that gets user ip.
e.g
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR ...
Example:-
create a php function that gets user ip.
e.g
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR ...