Hi Long Field, I am facing a very similar prospect at the moment. I am currently building a Web Application using angular 1 (for some reason I can not seem to get my head around ng2 at the moment, but that's another matter).
In this application we have users who login through an authenticator and then are given 'access levels' to certain parts of the software. Some access levels allow full access, others do not. True Angular does make getting access to your code a little trickier, but if you know Angular you can still get access. After all they are just Javascript Objects buried beneath the main Window Object. The way that I've solved it personally is to show the visual limitation on the client (ala Browser) BUT ALWAYS verify their access on the server side. So even if they do change it client side, they still can not access it server side. I will show them a warning or something (now worked that part out yet). Hope this helps. Regards Anthoni On Tuesday, 23 February 2016 21:56:31 UTC, Long Field wrote: > > So Uglyfying, can speed up loading but not helpful for security > > On Friday, February 19, 2016 at 7:09:31 AM UTC+11, Frank Rocco wrote: >> >> I can easily go into 'view source' and click on the link to the app's >> script and see all of the code. >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
