Subject Re: [firebird-support] Embedded Firebird: Access to UDF library "rfunc.DLL" is denied by server administrator
Author Helen Borrie
At 10:50 PM 30/03/2005 -0500, you wrote:

>I just switched from superserver to embedded and am getting this error:
>
>Access to UDF library "rfunc.DLL" is denied by server administrator
>
>The database appears to work fine except for this problem.
>
>I have placed the rfunc.dll in the same directory as fbembed.dll.

Then the embedded engine is doing exactly as it should do - denying access
to the library because it is not in restricted sub-tree.

The default configuration for UDFAccess is this:

UDFAccess = RESTRICT UDF

That means access to UDF libraries is restricted to the named sub-directory
tree. Your dll is somewhere else, so access is denied.

"RESTRICT UDF" means $firebirdroot\UDF. $firebirdroot for an embedded
installation is the directory where fbembed.dll is, i.e. the application
directory. You need to create a UDF directory benath the app dir, or
configure UDFAccess in firebird.conf in order to tell the server some other
directory location that is allowed to host UDF libraries.

The easiest thing to do is stick with default and create the subdir. If
you want to, you could alternatively configure the app dir as a legal
location, viz.

UdfAccess = RESTRICT UDF;c:\MyAppdir

./heLen