L
L
Loman19892018-10-29 20:39:49
JavaScript
Loman1989, 2018-10-29 20:39:49

Where can I find information on how to properly protect the node.js server from replacing data from the client?

Where can I find information on how to properly protect the node.js server from replacing data from the client?
Are there such books or how to drive in a search engine to find exactly what I need?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Kucherov, 2018-10-29
@Loman1989

Data from the client should always be strictly validated and filtered. The rule is simple, never trust a client. In any client-server system, it is always unknown who is on the other end of the wire. You don't need to protect the server from replacing client data. The server should not care if the client is real or fake, in any case it should only return what was asked of it and should not process incorrect requests.

U
uiworks, 2018-10-29
@uiworks

what do you mean by that? situation example

P
Puma Thailand, 2018-10-30
@opium

Validate all data on the server side

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question