Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJdkQ-0000x8-1m for pgsql-admin@arkaria.postgresql.org; Mon, 05 Nov 2018 12:12:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJdkO-0006w6-A7 for pgsql-admin@arkaria.postgresql.org; Mon, 05 Nov 2018 12:12:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJdkN-0006vy-VD for pgsql-admin@lists.postgresql.org; Mon, 05 Nov 2018 12:12:48 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJdkL-0000G0-7x for pgsql-admin@postgresql.org; Mon, 05 Nov 2018 12:12:46 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 1FE96101B11E9 for ; Mon, 5 Nov 2018 05:12:44 -0700 (MST) Date: Mon, 5 Nov 2018 05:12:44 -0700 (MST) From: pavan95 To: pgsql-admin@postgresql.org Message-ID: <1541419964128-0.post@n3.nabble.com> Subject: Re: How to revoke "Create Privilege" from a readonly user in postgres? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I want to know if there is anyway to disallow a user from creating his own tables. He should be only provided with the "SELECT" access apart from that no other access should be available with him. I have created a user "readonly" with no other privilege other select on database "abc". But when I tried to connect as "readonly" he is given with "SELECT" privilege but the problem here is he was also be able to create his own tables in the database. How this can be stopped? Looking forward to hear from you. Regards, Pavan -- Sent from: http://www.postgresql-archive.org/PostgreSQL-admin-f2076596.html