Re: Postgres as embedded db for GUI

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgres as embedded db for GUI
Date: 2005-11-26 19:09:04
Message-ID: BFAE00E0.23BE7%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

on 11/24/05 9:55 AM, fairwinds(at)eastlink(dot)ca purportedly said:

> Hi Jaime. I currently work with psycopg with web apps. My question is
> more a matter of whether postgres can be installed in a way that keeps
> it contained to the program files for the app (as opposed to the
> regular type of install where postgres becomes available as a server
> available anywhere on the operating system. I don't want the
> installation used for tables other than app tables (or available to
> anything other than the app).

Although the short answer is that Postgres is not designed to be embedded,
you can emulate this condition with a custom install that does not include
the client apps and keeping all authentication private to the app
(especially keeping app authentication separate from db authentication). The
the only issue you have to watch out for is multiple installations, which
can be avoided by using a specific IP address (or domain socket if Win
supports them).

So essentially, you're keeping people out simply because they can't
authenticate, which, by and large, is the only way that most, if not all,
"embeddable" systems keep foreign apps out.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2005-11-26 20:10:40 Re: GRANT question
Previous Message Bruce Momjian 2005-11-26 18:24:47 Re: Logging prepared statements in 8.1?