pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: dev.department <dev.manager@spazio3d.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Hide structure
Date: Tue, 12 Dec 2006 12:38:33 -0600
Message-ID: <1165948712.3243.126.camel@state.g2switchworks.com> (raw)
In-Reply-To: <00e201c71886$e7ef1c40$76671997@WEB>
References: <00e201c71886$e7ef1c40$76671997@WEB>

On Tue, 2006-12-05 at 10:01, dev.department wrote:
>  
>  
>  
> Dear Sirs,
>  
> We're a softwarehouse who is considering the possibility to insert the
> PostgreSQL 8.1 database in our software.
> How can we prevent the visualization of structure and data (tables,
> views, etc.) of a PostgreSQL 8.1 database? Keep present that the
> person who has installed PostgreSQL 8.1  is the administrator of the
> PC in which it it installed, and so he could modify the configuration
> files of PostgreSQL 8.1 server (for example files as "pg_hba.conf",
> "postgresql.conf", ecc.).
>  
> We've also seen that command "pg_dump" allows to visualize all
> structures and data of a database simply knowing the user name and
> not his password...

You can't.  Even if postgresql tried to make it possible, it would be
wasted effort.  anyone with any hacking knowledge could override it.

If you don't want people doing that, then host the database yourself, on
your own servers, and don't let the users directly log in.



view thread (2+ messages)

Message-ID: <1165948712.3243.126.camel@state.g2switchworks.com>
Permalink:  ../1165948712.3243.126.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1165948712.3243.126.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: smarlowe@g2switchworks.com, dev.manager@spazio3d.net
  Subject: Re: Hide structure
  In-Reply-To: <1165948712.3243.126.camel@state.g2switchworks.com>
  References: <00e201c71886$e7ef1c40$76671997@WEB> <1165948712.3243.126.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox