core icon indicating copy to clipboard operation
core copied to clipboard

asked by browser to save password while creating a new user

Open dttpy opened this issue 11 years ago • 7 comments

_firefox 34.0.5_

Steps to reproduce

  1. log in with admin
  2. save the password of admin
  3. go to the user management page to create a new user
  4. give the user name, password, group(optional)
  5. click create

Expected behaviour

Just a new user is created

Actual behaviour

A new user is created and firefox asks, whether to save the password or not.

The same thing is also tested with chromium, but they have different behaviours.

_Chromium Version 39.0.2171.71_

Steps to reproduce

  1. log in with admin
  2. save the password of admin
  3. go to the user management page to create a new user

Expected behaviour

the input field of user and password is blank

Actual behaviour

As the password is saved by chromium, the input field of user and password is filled with admin and its password. But it is possible to set a new user name, and after typing an alphabet, the password field turns to blank. If the test is continued, after the step 5, chromium will not ask to save the password. The interesting thing is: if the password of admin is not saved at the beginning of this test, but chromium has another saved user and password, this user name and password will be showed on the user and pasword input field, as the user management page is loaded.

Server configuration

Operating system: Ubuntu 13.10

Web server: apache 2.4.6 (Ubuntu)

Database: SQLite

PHP version: 5.5.3-1ubuntu2.3

ownCloud version: 7.0.3 & master

Updated from an older ownCloud or fresh install: owncloud 7.0.3rc

List of activated app:standard apps of owncloud and encryption

The content of config/config.php: (Without the database password and passwordsalt) $CONFIG = array ( 'instanceid' => 'oc6d9cda6e26',

'datadirectory' => '/var/ocdata/***/owncloud/data', 'dbtype' => 'sqlite3', 'version' => '7.0.3.4', 'installed' => true, 'theme' => '', 'maintenance' => false, 'maxZipInputSize' => 838860800, 'allowZipDownload' => true, 'loglevel' => '0', 'trusted_domains' => array ( 0 => '192.168.1.80', ), );

Are you using external storage, if yes which one: no

Client configuration

Browser: firefox 34.0.5 vs. Chromium Version 39.0.2171.71

Operating system: ubuntu 13.10

Logs

Web server error log

ownCloud log (data/owncloud.log)

dttpy avatar Dec 04 '14 20:12 dttpy

Correct me if i´m wrong, but this is a behavior of the browser you are using, not ownCloud. Or do you mean that ownCloud should have a setting that stops the browser from saving the password?

enoch85 avatar Dec 04 '14 23:12 enoch85

e.g. http://www.w3schools.com/tags/att_input_autocomplete.asp

nickvergessen avatar Dec 05 '14 08:12 nickvergessen

I don't think it's an urgent event. It is just strange to see that the pwd can be saved by browser in this place. And I know it is possible to stop it by setting the browser, but it would be better, if ownCloud itself can direct prevent it, wouldn't it?

dttpy avatar Dec 05 '14 10:12 dttpy

I think that it´s up to the user to the decide. You don´t have to if you don´t want to, right?

enoch85 avatar Dec 05 '14 12:12 enoch85

@nickvergessen That attribute is ignored for a password field by all the major browsers. There's an issue somewhere around here where the reasoning was described in some detail...

RobinMcCorkell avatar Dec 05 '14 19:12 RobinMcCorkell

This seems to be ignored by todays browsers: https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion

Even without a master password, in-browser password management is generally seen as a net gain for security. Since users don't have to remember passwords that the browser stores for them, they are able to choose stronger passwords than they would otherwise.

For this reason, many modern browsers do not support autocomplete="off" for login fields.

  • if a site sets autocomplete="off" for a form, and the form includes username and password input fields, then the browser will still offer to remember this login, and if the user agrees, the browser will autofill those fields the next time the user visits this page.
  • if a site sets autocomplete="off" for username and password input fields, then the browser will still offer to remember this login, and if the user agrees, the browser will autofill those fields the next time the user visits this page.

Not much we can do here -> closing

MorrisJobke avatar Jan 19 '16 00:01 MorrisJobke

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 06 '19 21:08 lock[bot]