I have developed a web application using Angular 8.
My goal is to secure routes and pages with dynamic access levels.
For instance, I want to verify if a user has access to a specific route, and if not, redirect them to the login page.
To do this, I currently store a list in the local storage and check the access level every time by fetching the list from local storage.
However, I am now questioning whether local storage is a secure place to store this security information.
Does anyone have suggestions for a better and more secure location to store this information?