*

Burton

  • ***
  • 128
Admin Extra Protection On All Admin folders
« on: February 24, 2015, 02:38:19 AM »
Hi Phil,

I am reading here: 

http://www.osdateforum.com/configuration-installation-4/installing-chat-and-forum-with-osdate-2-xx/msg4663/#msg4663

Admin Extra Protection On All Admin folders

Quote
###############################
#Prevent viewing of .htaccess file.
################################

<Files .htaccess>
order allow,deny
deny from all
</Files>

################################
# PROTECT .htaccess and .htpasswd FILES
################################

<FilesMatch "^\.ht">
  Order allow,deny
  Deny from all
</FilesMatch>

Do I need to ad this .htaccess into my   mydomian.com/admin ?  and into mydomian.com/templates/default/admin ?


*

Pharg

  • *****
  • 2,071
  • osDate Version: osDate Evo v1.0
Re: Admin Extra Protection On All Admin folders
« Reply #1 on: February 24, 2015, 03:01:41 AM »
Hi Burton,

It would be a good idea and it wouldn't hurt to do it in all the admins folders being the www.mydomian.com/admin
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Burton

  • ***
  • 128
Re: Admin Extra Protection On All Admin folders
« Reply #2 on: February 24, 2015, 03:15:40 AM »
Hi Phil,

Thanks for your quick reply,

Ok will place that .htaccess into all Admin folders

:)