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?
I would rather not simply place it behind a URL with a key in it (i.e.,
http://static.example.com/NSRP7SVYTR/myfile) because users can then simply link to this and share it whenever it changes.