On 2016-02-24 07:47, Sander Elias wrote: 

> Hi Steven, 
> 
> Use localstorage from within your service. Localstorage is reasonable secure. 
> Only your app, and the local browser user can access the data within. 
> 
> 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 [1].
> For more options, visit https://groups.google.com/d/optout [2].

Just make sure that you are protected against XSS attacks... But I guess
Angular really helps with this. Just keep it in your mind. 

Like me, you may find these resources useful: 

* http://alexbilbie.com/2014/11/oauth-and-javascript/ [3] 

* http://sitr.us/2011/08/26/cookies-are-bad-for-you.html [4] 

*
https://auth0.com/blog/2014/01/27/ten-things-you-should-know-about-tokens-and-cookies/
[5] 

* http://stackoverflow.com/a/21175036/5566882 [6] 

-- 
Radek 
 

Links:
------
[1] https://groups.google.com/group/angular
[2] https://groups.google.com/d/optout
[3] http://alexbilbie.com/2014/11/oauth-and-javascript/
[4] http://sitr.us/2011/08/26/cookies-are-bad-for-you.html
[5]
https://auth0.com/blog/2014/01/27/ten-things-you-should-know-about-tokens-and-cookies/
[6] http://stackoverflow.com/a/21175036/5566882

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