N
N
nulovkin2022-01-29 20:56:05
JavaScript
nulovkin, 2022-01-29 20:56:05

How to control security from the client side?

The Internet service provides client-side encryption. How can a client-side programmer check that, say, a password is not transmitted to the server along with the cipher?
If multiple libraries are used, can he look at the code for each of them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2022-01-29
@Aleksandr-JS-Developer

The entire client is loaded into the browser. You cannot hide anything in client code.
In addition, the programmer can call the debugger and see how the code is being executed. Step by step, line by line. In real time. He will enter a password and will watch how this password is processed.
If the code is "assembled" by the assembler, minified and obfuscated, then the research process will take much longer. But with proper motivation, the encryption code will be fully investigated.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question