I'am looking for a solution to prevent the access to my php-file. I' am calling a php-file via my homepage to make some database calls. To prevent others from calling this file I'am looging for a solution that only my homepage gets an answer from the php-file and prevent giving output to others who direct call the file.
Thanks for any proposals in advance.