About adding the same feature like in Admin, where admin can filter login from IPs.
The user does not have that choice, I think it make KeyHelp more secure.
Tony.
User login filter from IPs
Re: User login filter from IPs
Hi Tony, thats a good idea.
For now, you could add the following, to a .htaccess file in the KeyHelp web directory:
/home/keyhelp/www/.htaccess
source: viewtopic.php?f=11&t=9261
For now, you could add the following, to a .htaccess file in the KeyHelp web directory:
/home/keyhelp/www/.htaccess
Code: Select all
# RESTRICT ACCESS TO DIRECTORY BY IP ADDRESS
# Include in .htaccess of any directory
<RequireAny>
Require all denied
Require ip 1.2.3.4
Require ip 5.6.7.8/12
# If local server access to the directory is required
# add the following; include the server ip addresses (ipv4 & ipv6)
Require local
Require ip 9.10.11.12
Require ip 2001:0db8:85a3:0000:0000:8a2e:0370:7334
</RequireAny>
Re: User login filter from IPs
Hello George!
When i look in /home/keyhelp/www/ there is no ".htaccess" file, so I will have to create one?
When i look in /home/keyhelp/www/ there is no ".htaccess" file, so I will have to create one?
- Jolinar
- Community Moderator
- Posts: 3607
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: User login filter from IPs
Yes.
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views