How to deny access to php files except for one using htaccess
I want to deny access to all php files except for one called callback.php and one called serverresult.php. I've tried the code below and in reverse order but it does not seem to work. Is there a solution please?
<Files "/some-directory/callback.php"> Order Allow,Deny Allow from all</Files><Files "/some-directory/serverresult.php"> Order Allow,Deny Allow from all</Files><Files *.php>order deny,allowdeny from allallow from 127.0.0.1</Files>