<FilesMatch ".(php|sql)$">

Order allow,deny

Deny from All

</FilesMatch>