Rails serves any Active Storage file to anyone holding its URL. This gem flips that: a file is served only when a record it is attached to says the current user may see it (or that it is public). Private responses are never cached, direct uploads require a signed-in user and are rate limited, and files embedded in rich text inherit their owning record's access.
Required Ruby Version
>= 3.2
Authors
Yaroslav Shmarov
Versions
-
0.1.0
-
source
- 0.1.0 source November 14, 2026 (9.5 KB)
-