I am trying to configure fuseki-server so that

* an admin logging in via basic auth can create and update datasets
* anonymous users can only query datasets


My shiro.ini:

[main]
ssl.enabled = false
plainMatcher = org.apache.shiro.authc.credential.SimpleCredentialsMatcher
iniRealm.credentialsMatcher = $plainMatcher

[users]
admin=${ADMIN_PASSWORD}

[roles]

[urls]
# admin functions open to anyone
/$/ping     = anon
/$/server   = anon
/$/stats    = anon
/$/stats/*  = anon

# and the rest of the admin functions are restricted
/$/** = authcBasic,user[admin]

# dataset loads and updates are restricted
/*/data/**   = authcBasic,user[admin]
/*/update/** = authcBasic,user[admin]

# everything else is open to anyone
/**=anon


With this shiro.ini configuration, anonymous users can still PUT to a dataset 
URL to update it. I want to disallow that. How ?

Reply via email to