Subject | Re: [Firebird-Architect] External engines - metadata |
---|---|
Author | Vlad Khorsun |
Post date | 2007-10-19T12:01:40Z |
> Adriano dos Santos Fernandes escreveu:How its differ from GRANT <USER> EXECUTE ON <PROCEDURE> ?
> >> Huh ? Java program can't send spam ? Or open socket ?
> >>
> >>
> > Another reason to integrate J2SE security with database users/roles in
> > the plugin.
> Here is how this is handled in Oracle:
> dbms_java.grant_permission('USER_NAME',
> 'SYS:java.lang.RuntimePermission', 'getClassLoader', '' );
>
> So Java code in USER_NAME schema is allowed to call getClassLoader() method.
>
> We can do the same thing for users allowed and not allowed to send spam. :-)
Regards,
Vlad