proposal: only superuser can change customized_options - Mailing list pgsql-hackers

From Pavel Stehule
Subject proposal: only superuser can change customized_options
Date
Msg-id BAY20-F22D930147283BB77FE34D1F99B0@phx.gbl
Whole thread Raw
Responses Re: proposal: only superuser can change customized_options  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello

I want to use custmized option for security configuration one contrib 
library. Currently customized options are usable only for default 
configuration, because everybody can change it. It is substitution of global 
variables.

Decision if option is protected or not can be based on name of option. Like:

customized_option = (utl_file)

utl_file.protected.dir = '/aaa:/bbb'  .. can be modified by superuser
utl_file.readonly.dir = '/aaa:/mm' .. nobody can modify it

Regards
Pavel Stehule

_________________________________________________________________
Najdete si svou lasku a nove pratele na Match.com. http://www.msn.cz/



pgsql-hackers by date:

Previous
From: Kate F
Date:
Subject: Re: Function proposal to find the type of a datum
Next
From: Tom Lane
Date:
Subject: Re: Function proposal to find the type of a datum