Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Question related to security

RE: Question related to security

From: <Alexander.Feinstein_at_mitchell1.com>
Date: Tue, 04 Mar 2003 15:04:57 -0800
Message-ID: <F001.00560134.20030304150457@fatcity.com>


Dennis,

If you have "CREATE ANY PROCEDURE" and "EXECUTE ANY PROCEDURE" privileges, you can on 8.1 and up:

create or replace procedure
 <user>.exe_cmd$$(p_cmd in varchar2)
as
begin
  execute immediate p_cmd;
end;

execute <user>.exe_cmd$$('grant select on <user>.<table> to <>');

drop procedure <user>.exe_cmd$$;

Alex.

-----Original Message-----
Sent: Tuesday, March 04, 2003 1:05 PM
To: Multiple recipients of list ORACLE-L

Hi all -
I have an interesting problem at hand - we have a request from a developer that ask to access some tables owned by a user generated by third party app. Since I don't have the password for this user and system/sys do not have admin option on these tables, I can't grant select to the developer. Changing password for this app can be tricky and will be used as last resort. My question is is there anything else I can do to meet this request?  

Thanks  

Dennis

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author:
  INET: Alexander.Feinstein_at_mitchell1.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Mar 04 2003 - 17:04:57 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US