Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » oracle l »

Re: Forms/reports Application and DB security

Juan Carlos Reyes Pacheco

2006-06-08

Replies:

Hi Muhammed
This is the way you do in forms and reports

1) You create roles password protected.
create role prueba identified by test;
2) Assign it to your users disabled.
GRANT prueba TO CTB
/
ALTER USER CTB DEFAULT ROLE ALL EXCEPT prueba
/
3) Then you enabled it in the application
In forms
DBMS_SESSION.SET_ROLE( 'prueba identified by test') );
On reports
there is a role_name property in your report
4) If you don't have an encrypter transmission, you can enable the
role on a package in a logon procedure
--
http://www.freelists.org/webpage/oracle-l


©2008 dba.5341.com - Jax Systems, LLC, U.S.A.