Skip to Content

IP Access Restriction - Whitelist Users

by

$ 4.80

18.0 0
Live Preview
Required Apps â€ĸ Discuss (mail)
Technical Name user_login_restriction_by_ip
License OPL-1
You bought this module and need support ? Click here!
Technical Name user_login_restriction_by_ip
License OPL-1
🔒

IP Access Restriction

Secure Your Odoo with IP Whitelisting - Control Who Can Access Your System

✓ Odoo 18.0 ✓ Easy Setup ✓ Real-time Protection ✓ $10 USD

🌟 Key Features

🔐

IP Whitelisting

Allow users to login only from specified IP addresses. Perfect for securing admin accounts.

đŸ‘Ĩ

Per-User Configuration

Set different allowed IPs for each user independently. Flexible and powerful control.

⚡

Real-time Validation

IP check happens during login and during active sessions. Automatic logout on IP change.

🌍

Multiple IPs Support

Add as many IP addresses as needed per user. Support for office, home, and VPN IPs.

đŸšĢ

Automatic Blocking

Users from non-whitelisted IPs cannot login. Clear error messages displayed.

📱

Easy Management

Simple interface to add/remove IPs directly from user form. No technical knowledge required.

🔍

IP Validation

Automatic validation of IP format. Prevents invalid IPs and duplicate entries.

📊

Comprehensive Logging

All login attempts logged with IP information. Perfect for security audits.

đŸ’ŧ Perfect For

  • Restrict admin access to office IP only
  • Allow remote employees from specific home IPs
  • Prevent account sharing across different locations
  • Meet compliance requirements (SOC2, GDPR, HIPAA, PCI-DSS)
  • Secure access to sensitive financial data
  • Control access for external consultants and contractors
  • Prevent brute force attacks from unknown IPs
  • Companies with strict security policies
  • Multi-location businesses needing location-based access control

📸 Screenshots

User Configuration

Add allowed IP addresses directly in the user form:

User IP Configuration

Access Denied Message

Clear error message shown when login is blocked:

Access Denied Message

âš™ī¸ How It Works

Install the Module

Install from Odoo Apps or upload the module to your addons folder. Upgrade the app list and install.

Configure User IPs

Go to Settings → Users & Companies → Users. Select a user and open the "Allowed IP Addresses" tab.

Add IP Addresses

Click "Add a line" and enter the IP address (e.g., 192.168.1.100). Add as many IPs as needed.

Save and Test

Save the user record. The user can now only login from the specified IP addresses.

Automatic Protection

Users from non-whitelisted IPs will see an access denied message. Session monitoring ensures continuous protection.

â„šī¸ Note: If no IP addresses are configured for a user, they can login from any IP. This provides flexibility for users who don't need restrictions.

🔧 Technical Details

Version: 18.0.1.0.0

Dependencies: base, mail, web

License: AGPL-3

Author: The Light EG

Price: $10 USD

Features:

  • Override of res.users._login() method for IP validation
  • New model allowed.ips for storing whitelisted IPs
  • JavaScript service for real-time session monitoring
  • IP format validation with regex
  • Duplicate IP prevention per user
  • Comprehensive error handling and logging
  • No core file modifications
  • Clean uninstall without data loss
âš ī¸ Security Notice: This module provides IP-based access control. For maximum security, combine with strong passwords, two-factor authentication, and regular security audits.

📞 Support & Contact

Professional support available for all our modules

📧 Email Support

[email protected]

🌐 Website

https://thelight.odoo.com

đŸ’Ŧ Live Chat

Available on our website

Contact Us Visit Website
Odoo Proprietary License v1.0
This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.