Dear DSpace Community,
I hope this message finds you well.
I am currently exploring ways to enhance security and performance for a DSpace instance and am considering the use of Cloudflare in the backend. Before proceeding, I wanted to check if anyone in the community has experience implementing Cloudflare with DSpace.
Specifically, I am interested in:
If you have implemented this or have any insights, I would greatly appreciate your guidance.
Thank you for your time and support!
Best regards,
Maryam Fayazi
Right now, we have Turnstile successfully integrated into the DSpace frontend, including both the frontend widget and the backend verification. We are running the Turnstile backend verification service as a separate process from the DSpace backend, and it is used to validate users accessing the DSpace frontend.
However, the DSpace backend public APIs (e.g., /api/core/collections/, /api/core/items/, etc.) are still open and can be accessed directly, which allows bots to scrape the content.
We would like to implement Turnstile verification for the DSpace backend APIs as well, in order to protect them from unauthorized external clients and bot traffic—without disrupting legitimate access from the DSpace frontend. How can we achieve this?
Sincerely,
Maryam Fayazi