Dynamic Access Control on the Web Server
You can set up secure web folders to keep your content private and control which users have access.
See Portal Technology: Creating Access Control for Files on the Web Server
See PeopleCode API Reference: Authorize method: ContentAuthorizorBase class