V
V
Vlad Rodionov2018-03-07 05:27:53
PHP
Vlad Rodionov, 2018-03-07 05:27:53

Creating secure registration and authorization in PHP?

Please advise how you can safely create authorization and registration on the site, or literature where this is described in detail.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander null, 2018-03-07
@RedFosfor

Store open data in cookies, and a hash of this data + private key
On the server side, when reading from cookies, validate this data by hash if the cookies have changed the hash will not match!

A
Anton, 2018-03-07
@karminski

First, define your security criteria. If you want to securely store your password, this is one thing. If you want, for example, to encrypt user data using a new guest algorithm, this is different. In general, study the implementation in any of the frameworks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question