protecting inc files
Moderator: General Moderators
-
CraniumDesigns
- Forum Newbie
- Posts: 18
- Joined: Fri Nov 07, 2003 1:35 am
protecting inc files
how do i make it so that people can not just type in the address of my inc file and see all my account info? do i have to create an htaccess file? please help ASAP.
Code: Select all
<Files ~ "^.inc">
ForceType application/x-httpd-php
</Files>Code: Select all
<Files ~ "^.inc">
Order allow,deny
Deny from all
</Files>