Subject | Re: [firebird-support] rights issue |
---|---|
Author | Helen Borrie |
Post date | 2006-07-31T15:40:09Z |
At 12:54 AM 1/08/2006, you wrote:
database objects to users and to other objects.
those users to hand on the privilege of GRANTing privileges (WITH
GRANT OPTION).
EXECUTE, REFERENCES) must be granted specifically. Privileges can be
packaged into a ROLE. When that role is granted to a user, the user
acquires all the privileges for that role. There is also a user
PUBLIC to which you can grant privs that anyone can have; and a
special package of privs called ALL which encompasses SELECT, UPDATE,
INSERT and DELETE.
It's not a five-minute voyage.
2. (watch wrap)
http://www.ibexpert.info/documentation/III.%20SQL%20Language%20Reference/%2011.%20DCL%20-%20Data%20Control%20Language/%20%201.%20GRANT/497.html
I think this paper is also available in German.
3. Also look up GRANT and REVOKE in the IB 6 LangRef.pdf.
Plus, many of the free and commercial Admin tools include a privilege
management utility.
./heLen
>hi,No. It's about granting access rights and operational privileges on
>i am currently logging on to my databases as sysdba only but i do want
>to implement user functionality into my application, so i would like
>to know how firebird users/rights work? does it work like linux file
>permissions; i.e. does it all work with these two kinds of permissions
>(view, modify) which a user may o may not have?
database objects to users and to other objects.
>how do i grant permissions on a database?You don't. Rights and privs are GRANTed on database objects.
>who can grant permissions on a database?Initially, the Owner of the database and SYSDBA. It is possible for
those users to hand on the privilege of GRANTing privileges (WITH
GRANT OPTION).
>suppose user x creates a database, what are the default permissionsNothing. Each privilege (e.g. SELECT, UPDATE, INSERT, DELETE,
>for other users, i.e. what can they do with the database?
EXECUTE, REFERENCES) must be granted specifically. Privileges can be
packaged into a ROLE. When that role is granted to a user, the user
acquires all the privileges for that role. There is also a user
PUBLIC to which you can grant privs that anyone can have; and a
special package of privs called ALL which encompasses SELECT, UPDATE,
INSERT and DELETE.
It's not a five-minute voyage.
>i'll also be glad if you just show me the right resources where i can1. The Firebird Book, Chapter 35 (a whole chapter on the subject)
>read up on this topic...
2. (watch wrap)
http://www.ibexpert.info/documentation/III.%20SQL%20Language%20Reference/%2011.%20DCL%20-%20Data%20Control%20Language/%20%201.%20GRANT/497.html
I think this paper is also available in German.
3. Also look up GRANT and REVOKE in the IB 6 LangRef.pdf.
Plus, many of the free and commercial Admin tools include a privilege
management utility.
./heLen