Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A2862475D01 for ; Tue, 22 Oct 2002 23:28:54 -0400 (EDT) Received: from wolff.to (unknown [66.93.197.35]) by postgresql.org (Postfix) with SMTP id EA658475A71 for ; Tue, 22 Oct 2002 23:28:53 -0400 (EDT) Received: (qmail 2801 invoked by uid 500); 23 Oct 2002 03:37:58 -0000 Date: Tue, 22 Oct 2002 22:37:58 -0500 From: Bruno Wolff III To: Gabor Faludi Cc: pgsql-admin@postgresql.org Subject: Re: security rights per database DDL/DML connect Message-ID: <20021023033758.GB2719@wolff.to> Mail-Followup-To: Gabor Faludi , pgsql-admin@postgresql.org References: <003201c279fd$7ff2f1b0$27ecbd03@fits.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003201c279fd$7ff2f1b0$27ecbd03@fits.hu> User-Agent: Mutt/1.3.25i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/201 X-Sequence-Number: 6059 On Tue, Oct 22, 2002 at 21:01:59 +0200, Gabor Faludi wrote: > I've been searching the web for a solution on this but no luck . > > I'm administering a webserver w/ PHP apps on . I had an idea to create an > application database and give access to certain users to maintain the data > within the database tables , but also I'd like to make sure only certain > users are able to perform DDL commands. Or simply to revoke access for > connecting to this db. In 7.3 you can get a pretty good handle on this. The database owner can restrict who can create schemas and schema owners can control who can create objects in that schema.