RewriteRule ^classes/.*.php$ - [F,L]
RewriteCond %{REQUEST_URI} config.php|db.php|functions.php [NC]
RewriteRule .* - [F,L]