hi, i'm quite a newbie to basex (and generally xquery)
a simple question (i'm not finding answers in the wiki): how i can grant a read permission to an anonymous (no password) user? the common use case is to access raw xml files via rest /rest/{db}/{file.xml}.
this don't work:
grant read on [db] to *
Admin user cannot be modified.
as a solution i was thinking to proxy basex through nginx and use "proxy_set_header Authorization"
thanks
PS/ my first attempt to learn xquery is here, into a jupyter notebook maybe is interesting for someone: https://github.com/atomotic/bni-xquery/blob/master/bni-xquery.ipynb
On 08/09/16 12:18, raffaele messuti wrote:
a simple question (i'm not finding answers in the wiki): how i can grant a read permission to an anonymous (no password) user? the common use case is to access raw xml files via rest /rest/{db}/{file.xml}.
i answer myself: http://docs.basex.org/wiki/Web_Application org.basex.user, org.basex.password in web.xml
ciao
basex-talk@mailman.uni-konstanz.de