Re: User privilege
Posted in 1997
Pralay Dutta Gupta wrote: > > Hi informixers! > > Does anybody know whether it's possible to grant data based > privileges to users of On-line 7.10 UD1 ( isql version 6.02 UC1 ) ? > > To be more explicit, let me say, I've got two groups of users; both > using the same tables. Now, I want to grant privileges to one group > only on the data which they're in charge of. In other words, I would > like to grant row level privileges. > > If you've got the answer, I'd be grateful to know. > > Thanks in advance. > > Pralay Dutta Gupta > Service Informatique > Universite Paris 8 > > sinfo@univ-paris8.fr > > --------------------------------------------------------------- > Cet article a ete poste via ( (EchO!) ) - http://echo.fr/News Hi Pralay! You can not grant access rights on row level. As a possible solution to your problem you can define views. With the where-condition within the select for the view you can restrict the access for every special user group. If you want to restrict access on database objects not only for single users, but for groups, you can think of using roles. This feature comes with V7.x. A role is nothing else than a group of users created and administered within Informix. You can grant and revoke rights like you do it with single users. For more detailed information rtfm. Hope this helps. Tschuess, Dirk -- --------------------------------------------------- Dirk Schmidtpott S I E M E N S EMail: schmidtpott.pad@sni.de ============= Phone: 0049-5251-8-14922 N I X D O R F Fax : 0049-5251-8-27905 The above statements and opinions are my own and do not necessarily represent those of my employer. ---------------------------------------------------