Hi
My project is not a public site
So therefore I use login which works perfectly
I am missing a solution on the following
example
4 office workers must be able to login in the office but not at home
2 Office workers are allowed login in the office and at home
Are there any who have a solution
Regards
Benny
home login / office login
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Re: home login / office login
There is no standard solution for to this because this is very specific. This requires a customized script.
Re: home login / office login
I think that will be quite hard to implement.
1. How do you you know you are in the office? As far as I can tell, the only way is by looking at your IP address. But how many offices do you have and do they all use a fixed range of IP addresses? .
2. But - if your PC has more than one network interface, you may get a wrong IP address back if you don't look for the correct one (at HP we could connect wireless or wired).
3. When I worked at HP, we could VPN in to the office environment from home. If we did that, then we were cut off from any home IP stuff and it looked like we were in the office. So, how do you counter that?
So, I think you need to ask yourself - WHY do you only need to access this particular web site from an office environment? Is there another way to ensure the security you are looking for?
Alan
1. How do you you know you are in the office? As far as I can tell, the only way is by looking at your IP address. But how many offices do you have and do they all use a fixed range of IP addresses? .
2. But - if your PC has more than one network interface, you may get a wrong IP address back if you don't look for the correct one (at HP we could connect wireless or wired).
3. When I worked at HP, we could VPN in to the office environment from home. If we did that, then we were cut off from any home IP stuff and it looked like we were in the office. So, how do you counter that?
So, I think you need to ask yourself - WHY do you only need to access this particular web site from an office environment? Is there another way to ensure the security you are looking for?
Alan
-
-
- Posts: 1276
- Joined: Fri Aug 21, 2020 8:27 am
Re: home login / office login
Open your main .htaccess file and put this code towards the top of the file before everything else.
1. For the office ip you add then code if you have only one ip for 4 of the worker's and yourself then replace 111.111.111.111 and put your office workers and your IP there. for allowing the 2 other workers who works from home. Ask them to submit their home internet ip addresses and paste them on the 112.112.112.112s. Two ip in two places. Problem Solved I guess.
Caution: No other IP address can login or enter the site except for those ips. If you want add to your accord.
Code: Select all
<Limit POST>
Order Deny,Allow
Deny from all
Allow from 111.111.111.111
Allow from 112.112.112.112
Allow from 112.112.112.112
</Limit>
Re: home login / office login
thank you
Benny
Benny