there is already an answer for you in https://gitter.im/angular/angular.js

+++V+++

no, just no
don't do that
at all
you don't keep authentication data in a front-end application
nor in a cookie
you only store it hashed in your database
and that's the backend's responsability
the only thing you're allowed to do is securely pass the data to the backend

On Tuesday, August 20, 2019 at 7:04:24 AM UTC-7, Raghu Ram wrote:
>
> I want to store login id and password whenever remember me checkbox is 
> checked. Next time when user enters url in the browser login id and 
> password should get populated ie..user need not enter user id and password.
> I have implemented using cookies, Can you please suggest me a secure way 
> of doing this.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/0333bd88-c156-465d-9a18-3f07473f0f49%40googlegroups.com.

Reply via email to