A
A
Alexey2018-02-13 07:18:50
JavaScript
Alexey, 2018-02-13 07:18:50

Is it safe to use Single Page Applications?

Good afternoon!
Do you think it is safe to use the concept of SPA for enterprise applications with authentication?
Personally, it confuses me that the SPA is fully loaded only once (and then the API is accessed) and in the JS code you have to immediately lay down the entire logic of the application. Those. if necessary, even an unauthorized user can find out the logic of the application, the structure of API calls, etc. Of course, he will not receive the data itself, but the structure of calls is already worth a lot.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
Coder321, 2018-02-13
@cyberalex_ru

If you don't want to load everything, do a lazy load

R
RidgeA, 2018-02-13
@RidgeA

The best way to write secure and reliable applications

X
xmoonlight, 2018-02-13
@xmoonlight

Of course, he will not receive the data itself, but the structure of calls is already worth a lot.
In terms of access security - it costs nothing!
You can’t get into the Google database with a browser?!)
SPA- do it calmly, but authorization through Rest-API - you need to do it normally!

E
Egor Zhivagin, 2018-02-13
@Krasnodar_etc

The structure of requests is worthless if authorization works at least a little on the back
Yes, absolutely safe

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question