I have a client that insists not to disclose design of the admin part of the app for security reasons.
He thought that malicious experienced user could guess things from the design.
Do Angular guards prevent users (server- side) from disclosing the admin part ?
I can think of 2 options:
You put the admin side on a different Angular app, and you don't allow downloading the app from outside your company (like putting it on an internal VPC, under an internal domain name, etc).
If you own your web-server, you can use lazy-loading for the admin module, and add a security layer on the web-server itself so it doesn't allow downloading the admin module (lazy-loaded modules have predictable names, even if they have hashes at the end).
The first option is my preferred one because: