Hello,
I am using the Angular client, and while angular looks decently protected against XSS, if following good practice, I am not sure I will avoid 100% XSS in the future.
Loopback Services for angular stores the token in the javascript object, which would make it available to an attacker if an XSS flaw is successfully exploited, I guess ?
Is this a concern ? Is an attacker with a valid token able to impersonate the user and all its permissions, until token expires ? Or forge a CSRF ?
Should I implement an additional layer of security ? Would an SSL-only app would be more secure ?
Examples here :
What are the best security practice when using Loopback with Angular client ? The web is an hostile place and I do not want to underestimate the threat :-)
Thanks !
Aurelien