home login / office login

Issues related to the Login tools of WYSIWYG Web Builder.
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.
Post Reply
bennywww
 
 
Posts: 10
Joined: Tue Mar 05, 2019 1:29 pm

home login / office login

Post by bennywww »

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
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: home login / office login

Post by Pablo »

There is no standard solution for to this because this is very specific. This requires a customized script.
alan_sh
 
 
Posts: 1681
Joined: Tue Jan 01, 2019 5:50 pm

Re: home login / office login

Post by alan_sh »

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
wwonderfull
 
 
Posts: 1255
Joined: Fri Aug 21, 2020 8:27 am

Re: home login / office login

Post by wwonderfull »

bennywww wrote: Thu Oct 08, 2020 8:13 pm 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
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>
bennywww
 
 
Posts: 10
Joined: Tue Mar 05, 2019 1:29 pm

Re: home login / office login

Post by bennywww »

thank you
Benny :D
Post Reply