The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Linking from a vBulletin post to a Web Page with security
I want to provide a link from a vBulletin post to a page on an external website (eg http://www.abc.com/secure) that can only be accessed if it is being accessed from vBulletin.
In other words, if anyone types http://www.abe.com/secure in the address bar they will NOT be able to access that webpage. Can anyone provide any suggestions on how to easily do this? What sort of HTML/JavaScript coding would be required in the thread? Thanks. |
#2
|
||||
|
||||
This would more be doing with the coding of the "secure" page, and not vBulletin. You'll need to check the referrer on the "secure" page. Although nothing is foolproof.
|
#3
|
|||
|
|||
How do I pass the referrer to the 'secure' page?
I am wanting to POST a parameter from the thread (in HTML/JavaScript code) and then check for the parameter in the Target HTML web page and not allow display of the web page if the posted parameter is NOT ok. See: http://www.jguru.com/faq/view.jsp?EID=586493 Would this be possible? |
#4
|
||||
|
||||
Well for starters don't ever use the referrer header for anything important. It can be easily spoofed and turned off. The best way of doing it is to integrate your forum login into the third-party script
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|