Re: For review: Server instrumentation patch

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: For review: Server instrumentation patch
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE094609@algol.sollentuna.se
обсуждение исходный текст
Ответ на For review: Server instrumentation patch  ("Dave Page" <dpage@vale-housing.co.uk>)
Ответы Re: For review: Server instrumentation patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > Because I wanted the standard platform behaviour of both.
> For backend
> > storage subsystem purposes, it's certainly necessary to emulate *ix
> > behaviour of deleting a file in use, but for generic file
> access IMHO
> > the generic behaviour should be exposed.
>
> I'm going to repeat my firm opposition to this patch.  Under
> the innocuous-sounding banner of "server instrumentation",
> you are once again trying to put in generic file access
> capabilities that will allow remote Postgres superusers full
> access to the server filesystem.
>
> The potential security risks of this are obvious to anyone.
> The only justification that has been offered is "this will
> make remote administration easier".  Well, yeah, but it will
> make remote breakins easier too.  Valuing ease of use over
> security is the philosophy that got Microsoft into the mess
> they're in now --- do we want to follow that precedent?

How is this different from the fact that the superuser can already use
COPY to accomplish the same thing? Sure, you have to go through a
temporary table but if you're superuser that is not exactly a problem.
You can read/write any file the service account has permissions on.


//Magnus


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: A Guide to Constraint Exclusion (Partitioning)
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: A Guide to Constraint Exclusion (Partitioning)