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 > Set database to read-only

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-04-03, 11:56
jxh jxh is offline
Registered User
 
Join Date: Sep 2003
Posts: 6
Question Set database to read-only

Please can someone advise me how to set my Informix database to read only?
Reply With Quote
  #2 (permalink)  
Old 09-04-03, 12:38
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Set database to read-only

Quote:
Originally posted by jxh
Please can someone advise me how to set my Informix database to read only?
Hi,

Is not possible to setear it to read only you can execute "database xxxxx exclusive" or clear all the permissions of connect, resource, dba and rolles.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 09-10-03, 16:28
tmullins tmullins is offline
Registered User
 
Join Date: Aug 2003
Posts: 68
To set the database to "read only" you have to revoke all permissions on every table to all users. Then you have to grant select permissions on all tables to all users.
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