ceph-cookbook icon indicating copy to clipboard operation
ceph-cookbook copied to clipboard

Custom Authorization using an Standalone WebApi

Open Reza-Noei opened this issue 6 years ago • 0 comments

Hi,

I want to Implement below scenario using Ceph Server:

  1. Alice wants put a file (or Object) into Bucket 'A'
  2. Ceph will authorize this request using my Api (e.g. localhost:1010/api/HaveAccess?UserToken=xxx&Action=Put&Object=Ali.png&Bucket=A)
  3. The result should be True/False
  4. Ceph will process or ignore that request upon my '/HaveAccess' api.
  5. output will be returned to the client.

Is there any way to have such a Request Flow in Ceph ?

Reza-Noei avatar Oct 06 '19 12:10 Reza-Noei