3 ms·
I don't think it's necessary to hide that functionality, unless there are some strings in the post-auth modules that unauthenticated clients should really never
by meowface 12y ago
I don't think it's necessary to hide that functionality, unless there are some strings in the post-auth modules that unauthenticated clients should really never be able to see. Security by obscurity is pointless.
You shouldn't be concerned about someone having all of your client-side source code; the worst they could do with it is clone your site and make a bad, hacky reverse engineered attempt at emulating your backend API.
If you think hiding your application structure or references to API endpoints secures you, then you're doing something very wrong.