سؤال

I have a requirements to implement a password-based local user authentication, and a role-based authorization in a new AnguletJS application. As a part of my requirements, user passwords must not be transmitted in a clear case from the client to server. Is there a standard way of implementing local user password-based authentication and role-based authorization in an Angular SPA?

هل كانت مفيدة؟

المحلول

Use HTTPS and the password and username would be encrypted during the communication with the server. Here's a article that you might find useful: https://medium.com/opinionated-angularjs/7bbf0346acec

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top