How to secure your htaccess file?

Our server security already works to protect your files, however, if you just want to be extra careful, you can use the following code snippet on your htaccess file to protect and secure it:

# Deny access to all .htaccess files
<files ~ "^.*\.([Hh][Tt][Aa])">
order allow,deny
deny from all
satisfy all
</files>
  • secure, htaccess, file
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to add an addon domain in cPanel?

An addon domain in cPanel is where you can add a new domain name for an additional website to use...

How to log in to cPanel?

Logging in to your cPanel account is very easy. Choose from the following options: Option 1 -...

How do I withdraw my commission?

To withdraw your affiliate commission, you first need to pass the $50 threshold for withdrawal....

How do I sign up as an affiliate?

To sign up as an affiliate with Hosteology, please visit...

Do you offer custom hosting plans?

We currently do not offer custom hosting plans here at Hosteology. We feel our range of hosting...