NetTalk Central
		NetTalk Web Server => Web Server - Ask For Help => Topic started by: Edwin Hannan on June 06, 2017, 11:06:27 AM
		
			
			- 
				Hi All
 
 Been searching is there is some way to only allow a list public ip address access to the NT web server?
 
 Useful when allowing business partners access only.
 
 Can find banned IP but not allowed Ip
 
 Appreciate any help on this
 
 Many thanks
 
 Ed
 
 Edwin Hannan
 C10, NT 9
- 
				Hi Edwin,
 
 no, there's no white-list facility built in.
 Perhaps put a firewall in front of the server and allow it to filter the traffic?
 
 cheers
 Bruce
 
 
- 
				Hi Bruce
 
 Yep, suggested that to the network admin, only allow through at the gateway :-)
 
 Cheers
 
 Ed
 
 Edwin Hannan
- 
				Hi All
 
 If it is not built in can I test for allowed IP address's as access is requested, I think so but its been a while, how would I do this?
 
 Any tips / help greatly appreciated
 
 Many thanks
 
 Ed
 
 Edwin Hannan
 C10 abc, NT 9
- 
				>> can I test for allowed IP address's as access is requested,
 
 You can, but it would really slow things down. Here's some (untested) possible code;
 In WebHandler procedure,
 ProcessRequest method
 before the parent call
 
 self.RequestData = p_String
 if allowed(self.requestdata.fromip) = false
 return
 end
 
 Cheers
 Bruce