If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Create a user with only select priveleges

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-03-03, 19:27
mppt mppt is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
Post Create a user with only select priveleges

How to create a user with only select priveleges? Or how to revoke priveleges of update, delete and insert from all tables on a quick way?
Imagine that you have a system with 3000 tables ...

Hope someone may help.
Thank you in advance,

MPpt
Reply With Quote
  #2 (permalink)  
Old 10-05-03, 23:29
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Re: Create a user with only select priveleges

Quote:
Originally posted by mppt
How to create a user with only select priveleges? Or how to revoke priveleges of update, delete and insert from all tables on a quick way?
Imagine that you have a system with 3000 tables ...

Hope someone may help.
Thank you in advance,

MPpt
Hi there,


Revoke all on tablename from public;
Grant connect to user;
Grant select, insert, update, delete on tablename to user;


Regards,

lloyd
Reply With Quote
  #3 (permalink)  
Old 10-06-03, 18:21
mppt mppt is offline
Registered User
 
Join Date: Oct 2003
Posts: 2
Exclamation Re: Create a user with only select priveleges

Hi lloyd,

I thank you for your help. However my problem is that I do not wish to grant or revoke priveleges table by table. Is there anyway to revoke or grant priveleges to all tables at once?

Regards,

MPpt

Quote:
Originally posted by lloydnwo
Hi there,


Revoke all on tablename from public;
Grant connect to user;
Grant select, insert, update, delete on tablename to user;


Regards,

lloyd
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On