I setup an ArangoDB on a webserver (Windows with IIS) and intend to expose it with a reverse proxy via IIS to the web, but I want the client to be forced to use authentication. I cannot find a way of accessing FOXX services with required authentication.
I have added a database 'common' and installed a FOXX service in
versioning/version/{project}/{client}/{version}
I can use the service fine from the browser with a URL like
http://127.0.0.1:8529/_db/common/versioning/version/myproject/aclient/4.9.3
and it returns me the JSON i have request. But it NEVER asks me for the credentials. So if I expose this service through IIS, e.g.:
https://myiisserver.com/_db/common/versioning/version/myproject/aclient/4.9.3
there's no restriction on accessing the service!
The arangod.conf looks like this (unchanged actually)
endpoint = tcp://127.0.0.1:8529
...
authentication = true
So what am I doing wrong? Am I using an internal endpoint only? Is there a public one? I have tried various combinations:
https://myiisserver.com/_db/common/_api/versioning/version/myproject/aclient/4.9.3
https://myiisserver.com/versioning/version/myproject/aclient/4.9.3
but cannot figure it out. Am I trying the impossible, or missing the obvious?