Subject | Re: [firebird-support] Re: Read only user |
---|---|
Author | Alexandre Benson Smith |
Post date | 2007-10-30T22:33:15Z |
gstv_m wrote:
and try to create a table... Maybe it works give it a try.
works as a selectable SP. If you code your SP just to select from a
table, any user that has no direct access to the table, but have
privileges to execute that SP, will not change any data.
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> So, by the moment, the best thing I can do is what AlexandreI really don't know what happens if a user opens a read-only transaction
> suggested but I still have the following problems:
>
> 1. The user will be allowed to create a table. Is there a way to
> avoid this?
>
and try to create a table... Maybe it works give it a try.
> 2. eMeL said that executing a SELECT with a SP, the read only userI think he is saying about your SP has code that update the database and
> can modify the database. Is this true even if I don't grant EXECUTE
> to this user?
>
works as a selectable SP. If you code your SP just to select from a
table, any user that has no direct access to the table, but have
privileges to execute that SP, will not change any data.
> Any other suggestion of creating a read only user another way?nope
>
> Gustavosee you !
>
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br