Forum Moderators: coopster
In other words, can you put a show_source.php file on that server and then send the name of the file for which you want the source as a GET param?
If the referrer is not on a white list, the request gets refused.
If it is on the whitelist, show_source.php fetches the file locally, and sends you the source code as output.
Obviously people could always spoof the referrer, so you would need to protect files with DB passwords and such.