vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Why did you put referrer check into install button? (https://vborg.vbsupport.ru/showthread.php?t=128015)

akanevsky 10-01-2006 08:07 PM

Why did you put referrer check into install button?
 
I have been using the link of those buttons in my manuals for some time now. But you put a referre check, so if someone clicks "install" in one of my manuals, they get a no_permission... That's very frustrating. Why do you need that?

Shazz 10-01-2006 08:15 PM

Could you show where it says No permission...

peterska2 10-01-2006 08:20 PM

The install button only works on this site and not from any external sources. This has been in place since early this year.

akanevsky 10-01-2006 08:20 PM

Quote:

Originally Posted by Shazz
Could you show where it says No permission...

When you click "install" from any of my hacks' manuals.

Quote:

Originally Posted by peterska2
The install button only works on this site and not from any external sources. This has been in place since early this year.

What's the point of that?

Marco van Herwaarden 10-01-2006 08:25 PM

To protect us and the members against some coders with lesser ethics.

See: Important: It is all about trust

akanevsky 10-01-2006 09:04 PM

Quote:

Originally Posted by Marco van Herwaarden
To protect us and the members against some coders with lesser moral.

See: Important: It is all about trust

Yea, I've seen that thread. But I think there is a solution:

When a readme file in one of my installation manuals is opened and a link in it is clicked, there is no referrer (afaik) because the file is opened locally.

When an img tag "requests" the same URL, there is a referrer, and I don't think there is any way to circumvent that. :) So why not put protection only on those cases when there is a referrer?

Paul M 10-01-2006 09:08 PM

It already works like that.

akanevsky 10-01-2006 10:46 PM

So how come it shows a no_permission() when clicked in one of my manuals?

EDIT:
Nevermind, it's because I clicked the link in a manual that was opened online from my manual generator... It works fine when opened locally.


All times are GMT. The time now is 04:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00943 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete