jeudi 9 août 2018

What's best practice for Angular2+ use/store web service credentials?

As far as I understand, the deployment for angular would be built and bundled to a dist directory, which get distributed to a server, and in the end served to client side. However, this raised my question, if there's a back-end webservice requires BASIC Authentication, does that mean the username and password for access the webservice will also get render to client side with the bundled JavaScript file?

Any input would be very helpful.

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire