On Saturday 02 June 2001 06:04, Jon Stevens wrote:
> Why not just authenticate the requests based on where the connection is
> from?
>
> If (fromOutside)
>     permission = "public"
> Else
>     permission = "private"
>

You are right that it could be done that way but I thought that it would be a 
little easier/safer to just have 2 servers and have one set up with the props 
so that it would only talk  to one other machine (the internal machine) as 
follows:

services.XmlRpcService.paranoid = true 
services.XmlRpcService.acceptClient = 192.168.1.1

And the other server could talk to any one so it would not restrict based on 
IP.

There are probably several ways to do it but I just thought this would be an 
easy way if you needed to lock down certain services and allow others to be 
more open.

John
-- 
********************************
** John Thorhauer
** [EMAIL PROTECTED]
** take a look at:
**  http://tambora.zenplex.org
**  http://www.zenplex.org
**  http://www.zenplex.com
********************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to