Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Security
  3. Security Policy: Password Expiry, History, Complexity, Session Timeout & Login Lockout v 17.0
  4. Sales Conditions FAQ

Security Policy: Password Expiry, History, Complexity, Session Timeout & Login Lockout

by Viyug Infotech https://viyuginfotech.com
Odoo
v 17.0 Third Party 41
Download for v 17.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
Security Policy: password rules, expiry, lockout and idle session timeout

Password and session security in one free app

Passwords that expire with a warning first, cannot be reused and follow your rules. Accounts that lock after repeated wrong passwords. Sessions that end when nobody is at the screen. All set on one Settings page, per company, with a log of every event.

Password expiryNo reuseComplexity rulesLogin lockoutIdle timeoutLog out allSecurity log

1
app instead of two
6
password rules
3
session controls
0
code or system parameters
1
Settings section

How it works, step by step

Every screen below is the app itself with demo data.

1

Set the policy in Settings

Settings > General Settings > Security Policy. Expiry, warning days, character rules, history, lockout and idle timeout, per company. The standard minimum length sits in the same block.

Set the policy in Settings
2

Give some groups their own timeout

Open "Timeout per group": for example 30 minutes for administrators and 8 hours for the shop floor. The shortest timeout of a user's groups wins. Exempt single users or office IP ranges.

Give some groups their own timeout
3

Users are warned before expiry

A few days before the password expires a banner appears after sign-in with a "Change password" button.

Users are warned before expiry
4

Expired passwords are changed at sign-in

An expired password, or one the administrator flagged, leads to a change page that lists the rules. Weak or reused passwords are refused with a clear reason. Works with two-factor sign-in.

Expired passwords are changed at sign-in
5

Password guessing is stopped

After N wrong passwords the account is locked for M minutes. Even the right password is refused until then. API keys of integrations keep working.

Password guessing is stopped
6

Unlock with one click

Locked users show a red ribbon and an Unlock button. "Require Password Change" works on one user or on a selection in the list.

Unlock with one click
7

See each user at a glance

The Password & Session tab shows when the password was changed, when it expires, failed sign-ins, the lock time and the idle exemption.

See each user at a glance
8

Review the security log

Password changes, forced changes, lockouts, unlocks, idle logouts and "log out all" with user, who did it and IP address. Filter and group as you like.

Review the security log

Everything in the box

Password rules, sign-in protection and session control without extra apps.

Password expiry

Expiry in days per company, warning banner before it, forced change at the next sign-in. 0 switches it off.

Password history

Refuses the last N passwords of the user, compared against secure hashes, never plain text.

Complexity rules

Upper case, lower case, digit, special character and "must not contain the login", on top of the standard minimum length.

Every way a password is set

Preferences, the administrator wizard, reset password links, invitations and sign-up. A refused reset link can be used again.

Login lockout

N wrong passwords lock the account for M minutes, also over the external API. One-click Unlock, list of locked users.

Idle session timeout

Per company, with an override per group, exempt users and exempt IP or CIDR ranges. Open tabs sign out on their own.

Log out all users

One button closes every open session at once, for example after a security incident. Your own session stays open.

Security log

Who changed a password, who was locked or unlocked, who was signed out and from which IP address. Kept two years.

Portal friendly

Portal users are not forced to rotate passwords. Complexity and history for portal sign-ups can be switched on.

Compared with typical alternatives

What you get beyond a minimum password length.

FeatureThis appTypical alternatives
Password expiry with warning bannerYes, warning N days beforeExpiry only, or a separate app
Forced change page at sign-inYes, works with two-factor sign-inReset password e-mail flow
Password history (no reuse)YesYes
Complexity rules + no login in passwordYesCharacter rules only
Lockout after failed sign-insYes, with Unlock buttonNot available
Idle timeout per groupYes, plus exempt users and IP rangesOne global value in system parameters
Browser tabs sign out when idleYesOnly on the next click
Log out all usersOne buttonNot available
Security logYes, per companyServer log file
Settings pageYes, per companySystem parameters

Questions

Will my users be locked out right after installing?

No. Expiry counts from the install date, existing passwords keep working and the idle timeout is off until you set it.

Does it work with two-factor authentication?

Yes. The forced change page appears after the authentication code, and the lockout counts wrong passwords only, never wrong codes.

What happens to integrations that use API keys?

API keys keep working while an account is locked, because they cannot be guessed. Wrong passwords over the API count towards the lockout.

Are portal and shop customers affected?

Portal users never get password expiry. Complexity and history for them are off by default and can be switched on with one tick.

Is there a way back if the administrator is locked?

Another administrator clicks Unlock, or the lock ends by itself after the configured minutes.

Questions or ideas?

We answer every message.

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to chat on WhatsApp or write us an email:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Viyug Infotech

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 949
Technical Name viyug_security_policy
LicenseLGPL-3
Websitehttps://viyuginfotech.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with