Menu

How to protect your app's public files with device verification
📰

How to protect your app's public files with device verification

DEV Community: firebase·Hacks.gr·about 8 hours ago
#tKZK2Cjb
#devtofirebase#devto#dev#cloudflare#file
Long article (389 words) — no AI summary yet.
Reading 0:00
15s threshold

Darryl Bayliss shares a guide on securing cloud-hosted app resources using Firebase App Check and Cloudflare Workers, detailing token verification, JWKS validation, and Cloudflare Worker proxy implementation.

Developer Darryl Bayliss shared a way to protect the catalog file of his Android app, Christmas Chill. The file and videos are hosted on Cloudflare storage with a public address.

Why public records need protection

When files are in a public repository, anyone can find and download them without using the app. The goal was to ensure that only genuine installations of the app could receive the directory, to prevent automated data collection programs.

The solution with device verification and an intermediate check

The storage itself cannot control who requests the files.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.