.. include:: /Includes.rst.txt .. _feature-1791186483: =============================================== Feature: Password and session rules per company =============================================== Description =========== Admins read and change their company's security settings with ``getSecuritySettings`` and ``updateSecuritySettings``: the minimum password length, how many earlier passwords cannot be used again, the maximum password age, the idle and absolute session lifetime, the allowed second factors, whether everybody needs a second factor, and how long the security log is kept. A person of several companies is held to the strictest value of each rule. The password rules themselves (length in code points, no breached password, no part of one's name or login, no recent password) are checked by one validator. Impact ====== New table ``company_security_settings``; companies that never save the settings use the defaults. .. index:: API, Database, package:adsum-core