The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is there a method of making the only means of accessing the admincp and modcp directories via a referrer from that direct URL?
PHP Code:
|
#2
|
||||
|
||||
![]()
For security?
It's easy to spoof the referrer, so it's not reliable at all. AFAIK not all browsers send the header either (though most do). If you wanted a wildcard, you could use another function like strpos. PHP Code:
Anyway, not recommended if this is a preemptive strike for security. |
#3
|
|||
|
|||
![]()
It was just as a basic attempt to stop people directly linking to our admin CPs (i.e. having to log in first, then I would create a script to stop users & mods getting to the admin CP.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|