Re:Authentication for Single Page Apps
by meowface on Wednesday June 18, 2014 @09:05AM
(#7909805)
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.
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.