Subject | Re: [IB-Architect] UDF and null |
---|---|
Author | Helen Borrie |
Post date | 2000-12-02T10:50:04Z |
At 11:39 AM 02-12-00 +0100, you wrote:
The UDFs themselves are completely external to the database. As things
stand now, as long as the UDF exists in the library as declared and the
declaration is correct, the database doesn't know nor care what the
function does.
debug. But as long as the execution is external, it is vulnerable to
external interference.
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
> >Perhaps the security problem has more to do with the fact that currentlyOnly the declarations of the UDFs are stored in the system tables.
> >only the declaration is compiled in the database (compiled? maybe just
> >"stored"..). So a malevolent person could write a trojan horse ib_udf.dll
> >or ib_udf.so with bona fide functions replaced by malicious ones with
> >identical name and parameters, make it available as a bin download and
> >catch a lot of eager SYSDBAs with their pants down.
>
>Udfs are stored into the dbf in system tables, we can by default allow
>SYSDBA to add user defined functions to database by changing the privileges
>to RDB$FUNCTIONS and RDB$FUNCTION_ARGUMENTS.
>I think If a user can't declare a user defined function, and the defined
>functions are well programmed and stable there is no security hole.
The UDFs themselves are completely external to the database. As things
stand now, as long as the UDF exists in the library as declared and the
declaration is correct, the database doesn't know nor care what the
function does.
>I think the best way is to allow the descriptor type, it's backguardI like the *idea* of the descriptor and I think it would be easier to
>compatible and transparent to old udfs.
debug. But as long as the execution is external, it is vulnerable to
external interference.
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________