Subject | Re: [Firebird-Architect] External engines - metadata |
---|---|
Author | Vlad Khorsun |
Post date | 2007-10-19T11:10:01Z |
> On Friday 19 October 2007 15:18, Adriano dos Santos Fernandes wrote:ISP should not know on which language given procedure is written.
> > Vlad Khorsun escreveu:
> > >> Vlad Khorsun escreveu:
> > >>>> Certainly, we must have well defined user's rights related with
> > >>>> defining external routines.
> > >>>
> > >>> All we can (and must) to do is define and check
> > >>> CREATE\DECLARE\ALTER\DROP <object> privileges at database level. All
> > >>> other is external to database engine and not an our deal
> > >>
> > >> The rights to declare external procedures/functions should be per
> > >> language.
> > >
> > > Why ?
> >
> > For example, A ISP will not give rights to run Delphi or C++ code in his
> > server, but can give rights to run Java in the database, as he already
> > allows I run Java in the app. server.
ISP may allow\disallow you to copy dll into host this is enough.
> > >> So Java language may have more relaxed rights, and the plugin implementsHuh ? Java program can't send spam ? Or open socket ?
> > >> security based on J2SE.
> > >
> > > I still don't see why we must worry about external rights
> >
> > Again, the ISP allows I run Java in his server because Java is "safe".
> > But he don't trust-me, to control his machine.Its not related. At least it must be not related. Where i said contrary ? ;)
>
> And Vlad - WHY should grant to CREATE DATABASE mean grant to execute arbitrary
> code on a server? How is it related?
Regards,
Vlad