| Technical Name |
user_login_restriction_by_ip
|
| License | OPL-1 |
đ 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:
Access Denied Message
Clear error message shown when login is blocked:
âī¸ 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.
đ§ 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.ipsfor 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
đ Support & Contact
Professional support available for all our modules
đ§ Email Support
đ Website
https://thelight.odoo.com
đŦ Live Chat
Available on our 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.