D
D
davc2018-05-07 17:20:29
SQL
davc, 2018-05-07 17:20:29

SQL injection can work through cookies?

Hello, is it possible to hack a site through sql injection by changing the cookie? For example, change the existing cookies, and put a sql query there. Will it work? And you need to protect yourself from this through prepared queries?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HellWalk, 2018-05-14
@HellWalk

It is necessary to protect yourself from SQL injections at the level of working with the database. If your accepted parameters are validated there, you are not afraid of SQL injections.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question