Mobile app version of vmapp.org
Login or Join
Shanna517

: Is it possible to have CloudFlare cache static files, but only serve them to specific users? I want to use CloudFlare as a CDN to cache and serve a static file in order to reduce the load

@Shanna517

Posted in: #Cdn #Cloudflare #StaticContent

I want to use CloudFlare as a CDN to cache and serve a static file in order to reduce the load on my server, however, the catch is that I only want this file to be served to paid users since it's an application.

Is there a way to serve a static file that's cached through CloudFlare's service (preferably in the free tier, although, higher tiers are an option) so that only paid users can access it? Is there a parameter setting in PageRules or something else I might be able to use for this?

NOTE:

I would rather not simply place it behind a URL with a key in it (i.e., static.example.com/NSRP7SVYTR/myfile) because users can then simply link to this and share it whenever it changes.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shanna517

1 Comments

Sorted by latest first Latest Oldest Best

 

@Connie744

That may be possible using custom WAF, but that type of customization is currently only available for Enterprise customers. You may want to talk to Sales and see what they can offer.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme