Thanks for getting back to me. I was more concerned about protecting 
business logic, as the js files can be viewed.
I did not know that Angular 2 would have an option to protect this.

Thanks

On Friday, February 19, 2016 at 2:11:54 AM UTC-5, Sander Elias wrote:
>
> Hi Frank,
>
> Your app runs (usually) in a browser. So angular is no exception for any 
> other, you can view the source of your app. 
> However, Angular 2 will have a way to run it on your server, and only 
> server the resulting HTML. That way you ca keep some/most off your app on 
> the server.  (You still need some JS on the client, no way around that)
>
> However, this has very little to do with code security. Using angular 
> makes your code more secure as it would be without it.  For an 'attacker 
> it's a whole lot more complex to tamper with your application.
>
> But you have to realize, that if your expose your application to the 
> web(this is even true for non-web apps!) security is at stake, and it is 
> something you only can battle at your server. 
>
>
> Regards
> Sander 
>

-- 
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.

Reply via email to