API for eXist-db based on XML-RPC. API is using xQuery, xPath and xQuery Update Facility.
Ruby-ACL is library that handles access permisions. Ruby-ACL offers to create and modify three ACL objects - three dimensions: Principal, Privilege, Resource object.