|
Daniel John Debrunner wrote: You do raise good points, as usual. I see your argument for ease of migration as the most compelling reason to avoid two different security models. Since Francois said he is working on adding system privileges and/or roles, hopefully your other concerns would be met at some point.Satheesh Bandaram wrote If we are proposing combining both authorization models, why not go the whole way and say Grant/Revoke is always enabled in a 10.2 database? If applications want to keep their current authorization model, they don't need to use new fine-grained access control allowed by grant/revoke. This preserves legacy model for them. 10.2 databases could use grant/revoke to get more control over access to their objects. Hopefully Derby will also have system privileges and roles to complete this model at some point. This proposal removes the need to have another property, like 'derby.database.sqlAuthorization'. One advantage I see with this is that we don't need to handle the case of someone issuing Grant/Revoke with sqlAuthorization set to false and trying to find appropriate time to switch the authorization scheme. Once issue I see is how to handle EXTERNAL SECURITY clause in this combined authorization model. Current legacy databases have EXTERNAL SECURITY set to INVOKER, where as my proposal calls for changing this to DEFINER. This could be seen as changing the behavior of Derby without sufficient warning. We could address this by one of the following:
Satheesh Users familiar with the ansi subset model would just use that, no need to get involved with the defaultConnectionModel. Though until roles and system privileges is supported, they might need to to ensure a secure system. I haven't seen any proposal on these roles or system privileges so I'm looking at how secure Derby will be in its next release given what has been proposed and is being worked on. If we have a release about 6 months from the last one, it will be around March. I think someone was going to set up a wiki page with what "10.3" would include, though that hasn't happened yet.Dan. |
- Re: Grant and Revoke, Part I ... DERBY-464... Satheesh Bandaram
- Re: Grant and Revoke, Part I ... DERBY-464... Kathey Marsden
- Re: Grant and Revoke, Part I ... DERBY-464... Francois Orsini
- Re: Grant and Revoke, Part I ... DERBY-464... Francois Orsini
- Re: Grant and Revoke, Part I ... DERBY-464... Satheesh Bandaram
- Re: Grant and Revoke, Part I ... DERBY-464.... Francois Orsini
