Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have a folder which contains a set of files which should only be accessed by permission. I would like to create an interface using perl so that a user can log in and see a list of the files, with links to download, but not to be able to find and go directly to the files, bypassing the security. In general terms, what is the best way of doing this please?