How do you do that
hash, May 10, 2005 - 2:01 pm UTC
Hi Tom
I've seen this type of answer from you at quite a few threads but i really could'nt find a starting point for this. Like you said
Actually, I prefer to never give anyone insert/update delete. I would put my
application login in plsql packages -- grant execute on the packages. The
"smart" end users cannot even see the tables, let alone touch them. The
application is the only way to access the data.
can you give an example on how you put your application login in plsql packages -- grant execute on the packages
just a tiny example will give me a way to work this out
thanks
May 10, 2005 - 2:30 pm UTC
create package demo_pkg
as
procedure hire_emp( ...... );
procedure fire_emp( ...... );
procedure transfer_emp( ..... );
procedure give_a_raise( .... );
......
and so on
end;
put your database logic, well, in the database.