On Mon, 2013-03-25 at 10:18 +0100, Christian Grün wrote:
[...] or place a .basex file in the directory you are starting BaseX from (i.e., in the “current working directory”).
Use extreme caution if you do this. Ideally the two files - ~/.basex and .basex - would be merged, both would be used.
The caution is that if you upgrade to a newer BaseX version, presumably in a new directory, your password and port will get reset to defaults, opening up your site for remote access! The default from a security perspective should obviously be that BaseX listens only on "localhost" and no other network interface, or doesn't listen to any port at all, without a configuration, but I don't think it is shipped that way.
Liam