| From: | Bill Moran <wmoran(at)potentialtech(dot)com> |
|---|---|
| To: | <dfx(at)dfx(dot)it> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: How to configure PostgreSQl for low-profile users |
| Date: | 2009-03-18 21:00:18 |
| Message-ID: | 20090318170018.aa77e854.wmoran@potentialtech.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
In response to "dfx" <dfx(at)dfx(dot)it>:
> Dear Sirs,
>
> I would like to rent a my application to a number of customer, each with a
> dedicated database (and perhaps a dedicated username).
>
> The database will be installed on 'public IP' machine and will be accessed
> by internet on standard port 5432 and using ODBC driver from several clients
> (whith the client part of the procedure installed on each machine).
>
> My questions are:
>
> It is possible to configure the security policy so that the simple users
> (the customer, in this case) can only read, write, update end delete data to
> the dedicated database AND NOTHING ELSE, particularly:
>
> - I would like to create each database with a different (customer) username
> (only one per database, in addition to the standard user postgres)
> - The user (customer):
> ---- cannot change his own username and the password
> ---- cannot backup the database
> ---- cannot read (the text of) the stored procedures, but execute only
> ---- cannot know the 'existence' of the other databases
A lot of these aren't supported (the "existence" thing, in particular)
If you really need to prevent users from knowing about each other, you'll
probably be better off using a virtual machine infrastructure to give
each client a dedicated DB system. FreeBSD jails are particularly
useful for this because of how lightweight they are.
--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | ray | 2009-03-18 21:10:48 | Installation Error, Server Won't Start |
| Previous Message | Sam Mason | 2009-03-18 20:54:52 | Re: How to configure PostgreSQl for low-profile users |