Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable autocomplete for all sensitive fields

Chakra Mamidala
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2021

Disable autocomplete for all sensitive fields


For each sensitive field in the HTML, set the "autocomplete" attribute to "off". For example:

<input type="password" autocomplete="off" name="pw">

If there are many fields, it may be faster to set the "autocomplete" attribute to "off" in the outer <form> tag. For example:

<form action="/login.jsp" autocomplete="off" name="pw"> <input type="password" name="pw"> </form>

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2021

Do not do this, it reduces security.

Some password safes need the autocomplete to be enabled for them to put in secured details.  If you stop people using a password safe, then they will start doing things like reusing passwords, using absolutely minimally complex passwords and writing them down on post-its next to their computer.  Please, don't do things that make security harder for your humans.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events