Angular - Are admin files downloadable?
问题 I have a website with Angular. I implemented the auth with jwt . I know we can prevent the user to go to the restricted routes with Angular Route Guard . Usually in SPAs all routes (html) are downloadable. Just we handle unauthorized routes in server by responding 403 code. So it's safe that user can see the html bu can't get any data. But in a specific project, we even don't want user to be able to see the html of admin panel (Since he can know about structures) Any idea? Should I use the