I want to enable users to reach the public resources, and to restrict access to others with some constraints.
The resources directory is look like
Res