Re: Re: [PATCHES] PostgreSQL virtual hosting support

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "David J(dot) MacKenzie" <djm(at)web(dot)us(dot)uu(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [PATCHES] PostgreSQL virtual hosting support
Date: 2000-10-11 01:46:44
Message-ID: 39E3C684.D2F1D0C5@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian wrote:
>
> I am tempted to apply this. This is the second person who asked for
> binding to a single port. The patch looks quite complete, with doc
> changes. It appears to be a thorough job.

A cursory inspection makes it look like the socket file can be placed
_anywhere_ -- even under a chroot jail. This would make more than one
person's day, Bruce. This would allow a chrooted webserver to connect
to a postmaster outside the jail -- while not terribly appealing from a
security standpoint (as any pipe out of a jail could be exploited), it
IS appealing when you need more than one chrooted webserver (doing
virtual hosting) to connect ot a common database (for hosting-site-wide
services).

If this patch passes muster (muster pass Tom Lane's eyes), and you feel
comfortable with it, I don't see why not -- this might not be a major
feature, but it IS a nice one, IMHO.

Now, if I'm wrong about the placement of the socket, well, I'm just
wrong -- but the vhosting feature is still nice.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alfred Perlstein 2000-10-11 01:48:54 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message Vince Vielhaber 2000-10-11 01:43:26 Re: RE: [INTERFACES] Announcing PgSQL - a Python DB-API 2.0 compliant interface to PostgreSQL

Browse pgsql-patches by date

  From Date Subject
Next Message Alfred Perlstein 2000-10-11 01:48:54 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message The Hermit Hacker 2000-10-11 01:37:07 Re: Re: [PATCHES] PostgreSQL virtual hosting support