Posts by Gabriel • 21 points
3 posts
-
0
votes1
answer127
viewsQ: How can I improve the security of my system to keep the user connected?
Starting from the idea that the user entered the login and password correctly on the login page, I will save a cookie to authenticate the user so that the login remains active and the user can…
-
0
votes0
answers89
viewsQ: Encrypt login/cookie passwords securely to keep user logged in
What is the best alternative to encrypt data to use it in a cookie so that it can be decrypted later to validate user data? Currently saved : Login - Password and IP in an array and then encrypt it…
-
0
votes1
answer41
viewsQ: Is it safe to trust the values of $_SERVER["HTTP_CF_CONNECTING_IP"]?
It is safe to rely directly on the values of the variable $_SERVER["HTTP_CF_CONNECTING_IP"], there is a need to filter or sanitize it? It’s safe to use it like this? $resposta =…