Includes

penguinmama

12.***.***.***
1,441 days ago

Includes

I suppose you people already know this - but in case you don't - you should always put your "includes" *outside* the web-accessible directories. I've finally learned *how* to do this :D Go me!

Bill

80.***.***.***
1,441 days ago
Hehe - indeed. Or at least make a .htaccess file in the include directory containing this:

Code:

Deny from all

penguinmama

12.***.***.***
1,440 days ago
Now, see, I didn't think of that. :lol: Figures.

Dismounted

59.***.***.***
1,440 days ago

Bill;108:

Hehe - indeed. Or at least make a .htaccess file in the include directory containing this:

Code:

Deny from all


By the way, isn't this the correct way to do it?

Code:

order allow,deny
deny from all


Also, if you want to only deny certain file extensions, use this:

Code:

<Files *.txt>
order allow,deny
deny from all
</Files>


Just replace txt with your extension.