How to Prevent Password Autocompletion in Confluence
The following browsers have removed support for the use of autocomplete="off"
- Apple Safari 6.1.6 (OS X 10.7)
- Google Chrome 41+
- Microsoft Edge
- Microsoft Internet Explorer 11+
- Mozilla Firefox 30+
As this is a design choice made by the browser's authors, there is no current work around available. We have a suggestion in place to have an option to autocomplete the username and password from the front end.
- CONFSERVER-54157課題詳細を取得中... ステータス
If you are using Google chrome to access Confluence then you can use Fill out forms automatically.
and if you are using Firefox then you refer to the page Control whether Firefox automatically fills in forms
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
本ページの内容には、Atlassian ソフトウェアのカスタマイズや拡張 (CSS ルール、HTML、JavaScript の追加/変更など) を行う手順が含まれています。アトラシアン サポートの提供 の通り、Atlassia 製品に加えられたカスタマイズはサポートされません。この資料は情報提供のみを目的として提供されています。内容はお客様自身の責任でご利用ください。
本件またはカスタマイズに関するご質問は、コミュニティの Atlassian Answers で質問してください。または、アトラシアン ソリューション パートナー にご相談いただくことをご検討ください。
目的
Some organizations have security requirements that require the AutoComplete attribute to be set to "off" for Usernames and Passwords in form based authentication. Confluence does not prevent autocompletion by default, and you will need to alter the login form in order to alter this behavior.
ソリューション
With a few modifications, the autocomplete=off attribute can be set for both the username and password fields. You will need to alter the page for the user login form in order to accomplish setting the autocomplete to off.
Password.vm
<CONFLUENCE_INSTALL>/confluence/template/aui/password.vm
を編集します。Find the line
<input type="password" name="$!webwork.htmlEncode($parameters.name)" id="$!webwork.htmlEncode($parameters.id)" ##
And modify it to
<input type="password" autocomplete="off" name="$!webwork.htmlEncode($parameters.name)" id="$!webwork.htmlEncode($parameters.id)" ##
- Save the file, shut down and restart Confluence
- Test your changes
This solution was tested in Confluence 5.x and 6.x. Future versions may change the files and form.