RE: ** ORACLE Forms security **
Date: 12 Aug 92 13:21:32 GMT
Message-ID: <1992Aug12.141616.27_at_bmwf1f.bmwf.gv.at>
You can limit user access to your oracle database creating a special view
for your table which nows at run time, if it is running from SQL*Plus or IAP:
0. You need ORACLE V6
CREATE VIEW view_name AS
SELECT *
FROM table_name
WHERE EXISTS (SELECT 1
FROM sys.v_$session S,sys.v_$process P
WHERE addr=paddr
AND S.username=user
AND (INSTR(program,'IAP') <> 0 OR command=3)
AND terminal=USERENV('TERMINAL'))
WITH CHECK OPTION;
"command" includes the actual command (SELECT=3,INSERT,...)
"program" includes the actual program name (IAP,SQLPLUS,...).