Answer the question
In order to leave comments, you need to log in
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
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!
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 questionAsk a Question
731 491 924 answers to any question