Unix Technical Forum

RE: deny access to one of two databases in same instance?

This is a discussion on RE: deny access to one of two databases in same instance? within the Informix forums, part of the Database Server Software category; --> sumGirl > > Hi all. I have a server that has a single instance of > informix but houses ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 07:40 AM
Colin Bull
 
Posts: n/a
Default RE: deny access to one of two databases in same instance?



sumGirl
>
> Hi all. I have a server that has a single instance of
> informix but houses two production databases. I have a bunch
> of maintenance to do on one of the databases this weekend
> that will not affect the other database in any way. I am
> wondering if theres a good way or even a hack that would
> allow me to keep everyone out of one database but allow them
> in the other?
>

You could run dbschema to get all of the grants for the database.
Copy the file
Edit the new copy to disallow access to all tables except for one user
(yourself)
Run version 2 against the database.
When finished, run version 1

Colin Bull

__________________________________________________ ______________________
This email has been scanned for all known viruses by the MessageLabs Email
Security System.
__________________________________________________ ______________________

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:17 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com