Question:
How do you protect required files from ever being served by the webserver?
Is there an easy way of doing this? The only method I can think of is to include the entire content of a page in an if-statement (or switch) and if a certain variable is set, then deliver the content.
This is easily circumventable however, as one only need to set the variable that triggers the if-statement to be true.
Any ideas?