ceph-cookbook
ceph-cookbook copied to clipboard
Custom Authorization using an Standalone WebApi
Hi,
I want to Implement below scenario using Ceph Server:
- Alice wants put a file (or Object) into Bucket 'A'
- Ceph will authorize this request using my Api (e.g. localhost:1010/api/HaveAccess?UserToken=xxx&Action=Put&Object=Ali.png&Bucket=A)
- The result should be True/False
- Ceph will process or ignore that request upon my '/HaveAccess' api.
- output will be returned to the client.
Is there any way to have such a Request Flow in Ceph ?