Re: Hosting options on Postgres - what's best? - Mailing list pgsql-general

From Peter Wilson
Subject Re: Hosting options on Postgres - what's best?
Date
Msg-id 4282627E.2060301@yellowhawk.co.uk
Whole thread Raw
In response to Hosting options on Postgres - what's best?  (Just Someone <just.some@gmail.com>)
List pgsql-general
Just Someone wrote:
Hi,

I'm looking into creating a hosted application with Postgres as the
SQL server. I would like to get some ideas and oppinions about the
different ways to separate the different clients, using postgres.

The options I had in mind:

1) Create a different database per client. How much overhead will this add?

2) Use schemas and authentication. So each client is a different
schema on the database.

3) Use application level security (per object security maintained by the app).

4) ????

Any ideas? Opinnions?

js.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
 
We use a single schema or multiple clients in a web environment using whitebeam. We ridgedly enforce secure access through a client_id model. In a web environment with lots of clients this has the benefit over other appoaches that you have far fewer database connections that otherwise, and that the connections can safely be persistent.

If you can't safely control the access of course (because you're not writing the application maybe) then other solutions are more secure.

Pete
--
http://www.whitebeam.org


--
Peter Wilson
T: 01707 891840
M: 07796 656566
http://www.yellowhawk.co.uk


Attachment

pgsql-general by date:

Previous
From:
Date:
Subject: Re: Storing database in WORM devices
Next
From: Alex Turner
Date:
Subject: Re: Storing database in WORM devices