pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heni Lolov <hal_bg@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: create table permission
Date: Wed, 19 Jun 2002 01:40:23 -0700 (PDT)
Message-ID: <20020619084023.35932.qmail@web21008.mail.yahoo.com> (raw)
In-Reply-To: <910513A5A944D5118BE900C04F67CB5A0BFDE7@MAIL>

What about
a cycle taht does:
create table table1(....);
create table table2(....);
....................
create table tableN(....);

and another:
insert into table1 values(.....);
insert into table2 values(.....);
....................
insert into tablen values(.....);

And so on till out fo disk spoace occurs.
This could be done by even the most restricted users taht can access the
database.

Isn't is a huge and obvious secyrity hole?

Hal

--- Rasmus Mohr <rmo@Netpointers.com> wrote:
> What 'bout:
> 
> REVOKE ALL ON "table_name" FROM PUBLIC;
> GRANT ALL ON "table_name" TO "postgres";
> GRANT SELECT ON "table_name" TO "select_user";
> 
> ???
> 
> --------------------------------------------------------------
> Rasmus T. Mohr            Direct  :             +45 36 910 122
> Application Developer     Mobile  :             +45 28 731 827
> Netpointers Intl. ApS     Phone   :             +45 70 117 117
> Vestergade 18 B           Fax     :             +45 70 115 115
> 1456 Copenhagen K         Email   : mailto:rmo@netpointers.com
> Denmark                   Website : http://www.netpointers.com
> 
> "Remember that there are no bugs, only undocumented features."
> --------------------------------------------------------------
> 
> > -----Original Message-----
> > From: pgsql-admin-owner@postgresql.org
> > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Heni Lolov
> > Sent: Wednesday, June 19, 2002 10:17 AM
> > To: pgsql-admin@postgresql.org
> > Subject: Re: [ADMIN] create table permission
> > 
> > 
> > Hi,
> > 
> > This is the nost stupid thing in PostgreSQL, but there is no 
> > CREATE TABLE
> > privilege :(((((((
> > Everybody CAN create tables. Unfortunately it will not be 
> > inplemented even in
> > Pg 7.3 according to TODO list. The developers do not consider 
> > it as important
> > feature. In my opinion this is the most obvious security hole 
> > in PostgreSQL.
> > Really Stupid but FACT!!!!!
> > 
> > HEY PEOPLE WILL YOU EVER FIX IT?
> > 
> > Hal
> > 
> > --- bertdd@lumumba.luc.ac.be wrote:
> > > How can I give SELECT privileges to a table of a database 
> > without giving
> > > CREATE TABLE privileges to that database ?
> > > 
> > > Bert De Decker
> > > 
> > > 
> > > ---------------------------(end of 
> > broadcast)---------------------------
> > > TIP 6: Have you searched our list archives?
> > > 
> > > http://archives.postgresql.org
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> > 
> > ---------------------------(end of 
> > broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> > 
> > http://archives.postgresql.org
> > 
> > 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



view thread (8+ messages)  latest in thread

Message-ID: <20020619084023.35932.qmail@web21008.mail.yahoo.com>
Permalink:  ../20020619084023.35932.qmail@web21008.mail.yahoo.com/
Also on:    postgresql.org/message-id/20020619084023.35932.qmail@web21008.mail.yahoo.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: hal_bg@yahoo.com
  Subject: Re: create table permission
  In-Reply-To: <20020619084023.35932.qmail@web21008.mail.yahoo.com>
  References: <910513A5A944D5118BE900C04F67CB5A0BFDE7@MAIL> <20020619084023.35932.qmail@web21008.mail.yahoo.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