code4romania/covid-19-jurnal-medical

Implement server side validation

Open

#431 opened on May 22, 2020

 (0 comments) (0 reactions) (0 assignees)C# (50 forks)auto 404
apibughelp wanted

Repository metrics

Stars
 (14 stars)
PR merge metrics
 (PR metrics pending)

Description

When the server relies on protection mechanisms placed on the client side, an attacker can modify the client-side behavior to bypass the protection mechanisms resulting in potentially unexpected interactions between the client and server. The consequences will vary, depending on what the mechanisms are trying to protect.

A. https://prod-api.stamacasa.ro/api/profile/family B. https://prod-api.stamacasa.ro/api/profile

For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.

Contributor guide