<Files cfg.php>
order allow,deny
deny from all
</Files>

<Files ses.php>
order allow,deny
deny from all
</Files>

# Узнать свой ip адрес: http://ip-whois.net/ip.php
<Files "index.php">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Files>

# Установки пароля на доступ к определенным страницам или разделам Вашего сайта
AuthType Basic
AuthName "Vy pytayetes' poluchit' dostup (riskuyete)! Nemedlenno pokin'te stranitsu ili nazhmite otmena"
AuthUserFile /путь_до_файла/admin/sxd/.htpasswd
Require valid-user