The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to restrict access to a directory and all its contents to a certain usergroup.
And I think it could be done if you make a (redirect forum or a link within that forum) only visible to that usergroup. And (here is the tricky part) make htaccess allow just from that exact link... Something like this... Code:
<Directory /> Order deny, allow Deny from all Allow from .domain.com/vb/showthread.php?t=14327 </Directory> I know that you can prevent hot linking this way from outside but Im not sure how it can be coded to get the above results... Example of hot linking protection.... Code:
SetEnvIfNoCase Referer "^http://www.your-domain-name-here.com/" locally_linked=1 SetEnvIfNoCase Referer "^http://www.your-domain-name-here.com$" locally_linked=1 SetEnvIfNoCase Referer "^http://your-domain-name-here.com/" locally_linked=1 SetEnvIfNoCase Referer "^http://your-domain-name-here.com$" locally_linked=1 SetEnvIfNoCase Referer "^$" locally_linked=1 <FilesMatch "\.(gif|png|jpe?g)$"> Order Allow,Deny Allow from env=locally_linked </FilesMatch> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|