Re:You Shouldn't Start with an SPA
by ivan_gammel on Friday February 02, 2024 @10:23AM
(#39229632)
There’s usually no problem with security in thin hypermedia apps. Backend still has full control over access, you just have an extra step of actually rendering the view with the model you’d otherwise return via API.
The front end is a public resource, the back end is a private resource whose access needs to be controlled according to clear and consistent rules and with proper authentication checks.