I’m just getting started with Workers and I’m trying to figure out how to limit a user to only his own static files (mostly images).
The static files are arranged like this:
After “user001” logs in, they should only be able to access files in the /images/user001 directory.
I’m trying to figure out how to pass authentication and access information back to the Worker script so it can control which files can be accessed. Is this kind of dynamic access control even possible?