I used to deny some IP blocks from registration in my vBulletin forum by .htaccess
<Files register.php>
order allow,deny
allow from all
deny from xxx.xxx.xxx.xxx/xxx
</Files>
which php file in xenforo should be used in htaccess to do the same job as above?