file Checking

Posted in: Security How-To's and Guides |

dear sirs,

is there any way , idea , function … to put it into a .htaccess file .. to check a file content when somone request that file from the web ????

If somone hacked a web site and uploade a PHP shell … of course he will request it via

the web like http://site.com/phpshell.php

here i want someting to check that phpshell contente … if it find a shell script ..

it’s prevent it displaying via the web .. if itsn’t a shell script .. it’s allow for its request and display the file content ..

waiting foe early replay ..

and I’m so sorry for my bad English

thanks & best regards ..

-Ahmed,

Leave a Reply