pg_largeobject is a security hole - Mailing list pgsql-hackers

From Tom Lane
Subject pg_largeobject is a security hole
Date
Msg-id 8703.993659269@sss.pgh.pa.us
Whole thread Raw
Responses Re: pg_largeobject is a security hole  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
I propose that initdb should doREVOKE ALL on pg_largeobject FROM public
same as it does already for pg_shadow and pg_statistic.  This would
prevent non-superusers from examining or modifying large objects
except through the LO operations.

This is only security through obscurity, of course, since any user can
still read or modify another user's LO if he can guess its OID.  But
security through obscurity is better than no security at all.  (Perhaps
someday the LO operations will be enhanced to perform access-rights
checks.  I have no interest in doing that work right now, however.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Frank Ch. Eigler"
Date:
Subject: Re: Re: Encrypting pg_shadow passwords
Next
From: Tom Lane
Date:
Subject: Re: Re: Encrypting pg_shadow passwords