Subject | Re: [firebird-support] Re: FB 2.0: What is the SQL to allow users to change their password? |
---|---|
Author | Martijn Tonies |
Post date | 2007-01-31T11:34:10Z |
> > > what annoys me a little is that DBOwners cannot use GUI tools to grantthe
> > > objects to users, since gui tools rely on DBOwners being logged onto
> > > database and once logged on, other users are not visible (in the GUIwhich
> > tools).
> > > Only SYSDBA will see a full list of users.. So the only way this is
> > possible
> > > is to modify security2.fdb so the view reads
> > > ...
> > > WHERE CURRENT_USER = 'SYSDBA'
> > > OR CURRENT_USER = RDB$USERS.RDB$USER_NAME
> > > OR CURRENT_USER = 'MYDBOWNER'
> > > ... OR (keep adding database owners)...;
> > >
> > > Then you get the GUI grant manager tools working for the database
> > hasare
> > > been created by MYDBOWNER.
> >
> > The list of users is probably fetched by using the Services API.
>
> the services API will return users from the view,... so logged in as
> MYDBOWNER, the security service will return all users if the mods above
> applied (default distro will only return yourself unless you're SYSDBA).The
> mods above a very difficult to apply now that direct access is vorboden...Not really an option.
> you have to stop the server, copy the security2.fdb, start server, make
> changes, stop server, copy back, start server again...
> > What do you propose as a solution?difficult
> >
>
> without a clear idea of where the security changes are going i.e. how they
> are to be implemented, it's difficult to propose a solution.
> per database security will no doubt introduce yet another layer of
> workarounds for certain tasks but does anyone (including Alex Peshkov)have
> an implementation guide to follow on this?If you used a sysdba password when registering the server, it will use that
> I'm not familiar with DBWorkBench grant manager - how does it wrestle with
> this task?
(for each database) to get a list of users know to the server. Enter it once
and it will be used wherever the Services API needs it.
> In IBExpert you need to design with a connection to the DB as DBOWNER, butOR
> you need to either have a separate connection as SYSDBA to do the grants,
> you make the mods above, OR you do it all via ISQL command line grantusers,
> statements.
>
> Seems to me that we need a way that SYSDBA can add other SYSDBA type
> special users who you declare as DBOWNERs i.e. used to created databases,so
> these users have exceptional rights or are added to the permissionsallowed
> over the view.to
> I know there is constant talk of a need to have more than one SYSDBA and
> bar access to databases from SYSDBA. Hopefully somewhere this is all beingMartijn Tonies
> talked about, I've not seen any conversations on devel or architect lists.
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com