Make the file check the HTTP_REFERER to make sure it comes from a valid location. This way the someone can't just type it into the URL. Also you should make any scripts like this only use data that is POSTed. I know this won't keep a determined person from using it, but it will prevent the average from wreaking havoc.