简体   繁体   中英

How to restrict access to certain Foxx service arangodb

For example, I have 2 services A and B. I would like to expose A that everyone can use and B as restricted to "root" user stored in arangodb. Does arangodb support it?

For the root service you can specify some header parameters that you will check in your foxx service. Or you may be check if the arangouser is logged see authentication cookbook. If yes check if the user is root.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM