Re: problem permission on view

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problem permission on view
Date: 2004-09-16 22:57:39
Message-ID: 871xh1q0t8.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Josh Berkus <josh(at)agliodbs(dot)com> writes:

> As said, I discussed this with Gaetano on IRC, and am not sure why things are
> set up the way they are. If a user has permission on a view, shouldn't
> that include permission on any functions executed by the view? If not, why
> not?

Then all someone would have to do to bypass security on a function would be to
define a function of their own calling it?

If I execute shell script that calls a setuid root-only binary that doesn't
give me permission to execute the root-only binary...

--
greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2004-09-16 23:35:41 Re: [HACKERS] x86_64 configure problem
Previous Message Tom Lane 2004-09-16 22:57:21 Re: problem permission on view