Protecting public JSON API responses from scraping when using Cloudflare CDN — is there any real solution?
📰 Reddit r/webdev
Protect your public JSON API responses from scraping when using Cloudflare CDN by implementing rate limiting, IP blocking, and encryption
Action Steps
- Configure Cloudflare rate limiting to restrict excessive requests
- Use Cloudflare IP blocking to prevent known scraper IPs
- Implement encryption for JSON data using Cloudflare Workers
- Validate user agents and block suspicious requests
- Monitor API traffic and adjust security measures accordingly
Who Needs to Know This
Developers and DevOps teams can benefit from this solution to prevent data scraping and protect proprietary algorithms
Key Insight
💡 Implementing a combination of security measures can help protect public JSON API responses from scraping
Share This
🚫 Protect your JSON API from scraping with Cloudflare rate limiting, IP blocking, and encryption! 💡
Key Takeaways
Protect your public JSON API responses from scraping when using Cloudflare CDN by implementing rate limiting, IP blocking, and encryption
Full Article
Hi, I have a web app that serves cached JSON files via Cloudflare CDN. The data is generated by a proprietary algorithm and has significant competitive value. The JSON structure is simple to discover: /cache/_index.json → lists manifest URLs /cache/manifest_xxx.json → lists data file URLs /cache/data_xxx.json → actual proprietary data Anyone can write a 20-line scri
DeepCamp AI