I’ve created a cgi-bin for my site and can get my perl cgi to execute properly. However, I have other files in there (.txt for example) that I don’t want users to be able to read.
I’ve tried several different permission combinations with no luck. I’d prefer to set cgi-bin with the correct permissions to run cgi’s (.cgi, .pl, .py) but NOT allow users to view contents of other files. Do I have to do this on a file by file basis or can I set it on the cgi-bin?