Pros and cons of giving someone superuser privilege

Поиск
Список
Период
Сортировка
От Daniel Gomez Blanco
Тема Pros and cons of giving someone superuser privilege
Дата
Msg-id CAL4HELd-Zhk3exeNdk=dxwVsAwXrgnTRfbsCThH3T0=KA33A_w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Pros and cons of giving someone superuser privilege  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Pros and cons of giving someone superuser privilege  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-admin
Hi all,

I'm part of a service where we provide users with their own PostgreSQL instances. The idea is that we provide them with a website to request and manage their databases (start/stop, backups, restores, upgrades, monitoring, etc). By doing this, we avoid having to give them access to the machine where their database is running, as this would be a security concern. But in the end, the user is the sole responsible for the database.

At the moment we create an "admin" user for them and give it "createdb" and "createrole" privileges. My question is, in case we give that user the superuser privilege, what would the repercussion be concerning security (as in accessing data on the machine for example)? And what advantages would the user acquire by having that privilege (considering major admin functionality is provided via the website)?

Thanks in advance for your replies.

Cheers,

Daniel

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

Предыдущее
От: Payal Singh
Дата:
Сообщение: Re: How to undo an update to a table?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Pros and cons of giving someone superuser privilege