The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'd like to deny access to the include files - I know that vB tries to do this , but I'd like to do it explicitly. Other than /include/ , are there any dirs that can be denied?
|
#2
|
||||
|
||||
![]()
I believe /clientscript/ is as well
![]() Satan |
#3
|
|||
|
|||
![]()
Lol, denying clientscript, will make the board not function anymore i guess.
|
#4
|
||||
|
||||
![]() Quote:
Serriously though.. the includes directiory doesn't contain anything that can harm your board from direct web access. |
#5
|
|||
|
|||
![]()
well a good way to prevent a file from being called by itsel:
I believe this would work: Code:
if (eregi("filename.php",$_SERVER['PHP_SELF'])) { header("Location:http://www.misite.com"); exit; } |
#6
|
||||
|
||||
![]()
just htaccess the directory if your worried...
|
#7
|
|||
|
|||
![]()
The only directory that can be locked out is includes.
|
#8
|
|||
|
|||
![]()
All scripts that are not ment to be called directly, are already "protected" against starting them directly, or at least protected from performing any actions.
|
#9
|
|||
|
|||
![]()
The easy way to do this:
<Files *.php> Order allow,deny Deny from all </Files> <Files *.extension1> Order allow,deny Deny from all </Files> <Files *.anotherextension> Order allow,deny Deny from all </Files> Put this into .htaccess of every folder you want to protect. |
#10
|
||||
|
||||
![]()
You know what I meant
![]() I mean users cannot harm the board by accessing them directly ![]() I misunderstood what he was asking and thought he wanted to know what directories were protected from damaging the board by users typing the url in ![]() Satan |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|