Subject | Re: [firebird-support] Server Access to UDF's in FB 1.52 |
---|---|
Author | Helen Borrie |
Post date | 2005-03-05T11:02:25Z |
At 10:03 AM 5/03/2005 +0000, you wrote:
change firebird.conf, stop and restart the server process.
BTW, don't enable ExternalFileAccess in the same directory as your UDFs
!!! this is asking for trouble, since it's in the nature of external file
usage for data to be read and written by external applications, human
beings and monkeys.
Set up a completely separate directory for ExternalFileAccess, preferably
right away from the Firebird software directories. Make an illuminated
mental note to take great care with permissions for this directory, to
exclude the monkeys, at least.
./hb
>Hi,Superserver reads firebird.conf once, when the server starts up. When you
>
>I created a UDF library and copied the DLL to the UDF directory
>under the Firebird installation directory on WINXP Pro.
>
>I configured the Firebird.Conf file to
>--> ExternalFileAccess = Restrict UDF
>--> UdfAccess = restrict UDF
>
>I Registered the UDF in my Database but when I call it I get the
>following message:
>
>"Unsuccessful execution caused by a system error that precludes
>successful execution of subsequent statements.
>Access to UDF library "AVI_UDF.DLL" is denied by server
>administrator."
>
>File access on OS is set to full access.
>
>What am I missing here?
change firebird.conf, stop and restart the server process.
BTW, don't enable ExternalFileAccess in the same directory as your UDFs
!!! this is asking for trouble, since it's in the nature of external file
usage for data to be read and written by external applications, human
beings and monkeys.
Set up a completely separate directory for ExternalFileAccess, preferably
right away from the Firebird software directories. Make an illuminated
mental note to take great care with permissions for this directory, to
exclude the monkeys, at least.
./hb