Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 29th, 2005, 02:38 AM
Ach Ach is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 46 Ach User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 36 m 29 sec
Reputation Power: 5
How to hide not-owned tables from users?

Hi all,
This may seems dummy but scenario is:
I have one schema called user1.I have created another user called user2 that I want to have select,insert,update,delete privileges on tables of user2.
Initially I granted only resource,connect to user2.Then I created and ran a script that grant select,insert,update,delete to user2.But When I query all_tables (connected by user2) I can see many more tables that are not in user_tables.
I tried to revoke access to those additional tables from PUBLIC but no chance.What should I do(revoke) to have same result from user_tables and all_tables?!
-Thanks in advance
PS: Also our .Net developers that use ODP.NET see many many more tables in list of tables.(They are connected with user2)

Reply With Quote
  #2  
Old September 2nd, 2005, 01:25 PM
shafique shafique is offline
Senior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Canada
Posts: 305 shafique User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 45 m 20 sec
Reputation Power: 6
Dictionary table/views are managed by Oracle and automatically assign SELECT privileges to PUBLIC when Oracle is installed. You cannot do anything, but you can play with privileges to allow some group/users to run query against these views.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > How to hide not-owned tables from users?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT