JQUERY, PHP, HTML 5

0

How can I circumvent a CPF validation, and in the company that I work if the customer has any pending in the CPF, the sales page does not allow to proceed. By other means, there are one or two employees who are able to circumvent this process through the key f12 (DevTool), so far I have been thoroughly searching for the solution of this question, somebody has any tips.

    
asked by anonymous 29.12.2017 / 13:21

1 answer

-2

You must perform validation on both the client and the server.

When performing the validation on the client, you improve the user experience with your system, since the system will inform you if the cpf is valid or not without having to make a request to the server.

However, validation on the server is still necessary to prevent a malicious user from taking advantage of the possibility of circumventing the validation applied in javascript.

    
29.12.2017 / 14:29