M
M
myspace2017-01-25 21:20:51
CSRF
myspace, 2017-01-25 21:20:51

Am I understanding csrf correctly?

Entering a login and password - installing csrf and writing it to the database and to the session - when submitting forms, verifying csrf from the session with csrf from the database. But questions arise, based on what parameters to generate a csrf token?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2017-01-25
@myspace

Adding to the database is redundant. What settings? Random string + user ip + user agent of the user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question