security - How to avoid putting a password in declarative html/angularjs directive? -


i have custom angular directive takes password value declarative html , uses connect third party service. there way can more readily secure username , password looking @ html can't see username , password in plain text? there way "encode" html markup directive? best practice securing passwords in situation? not password user of application know, password used application connect third party tool.

there's no way in client-side application. if encrypt access credentials, portion of code still have decrypt them, meaning user can invoke code manually , grab values.

in fact, depending on how application connects 3rd party service, user may not need @ all. decrypted values show in browser's network inspector.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -