vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

Lionel 10-19-2004 03:38 AM

ouch, I did a lot of customization... I guess I will have to put in the same dummy url every time...

AndrewD 10-19-2004 04:29 AM

Quote:

Originally Posted by Lionel
ouch, I did a lot of customization... I guess I will have to put in the same dummy url every time...

This is a real problem for software that is still being developed - sorry!

SupraT 10-30-2004 05:48 AM

I have the links installed on site. Works great, but one week after our relaunch I am noticing that downloaders are getting by the protection. It appears that they are getting the direct link from the window that pops up when you click the link. The one that states that you are being redirected. I have used this on other sites and it does not display the same way as it does on my site.

Am I missing something, or is install no good?

Please advice.

Thanks

AndrewD 10-31-2004 06:22 AM

Quote:

Originally Posted by SupraT
I have the links installed on site. Works great, but one week after our relaunch I am noticing that downloaders are getting by the protection. It appears that they are getting the direct link from the window that pops up when you click the link. The one that states that you are being redirected. I have used this on other sites and it does not display the same way as it does on my site.

Am I missing something, or is install no good?

Please advice.

Thanks

Sorry, I'm not sure I understand the problem - are your users getting a popup which tells them the location of the file, so they then know how to bypass the system?

Several questions:
- Are the downloads coming from your site or another? Normally, files with recognised mimetypes on your site should not produce this popup.
- Have you changed the setting of force_redirect on the links admin page - if this = 1 then your users will get to see the file locations
- Are you using the local_file_root setting on the links admin page to place the downloads outside the web directories, to prevent anyone from getting at them except through the links s/w?

If these suggestions don't help, pm me with more details of your site.

SupraT 10-31-2004 03:20 PM

Quote:

Originally Posted by AndrewD
Sorry, I'm not sure I understand the problem - are your users getting a popup which tells them the location of the file, so they then know how to bypass the system?

Several questions:
- Are the downloads coming from your site or another? Normally, files with recognised mimetypes on your site should not produce this popup.
- Have you changed the setting of force_redirect on the links admin page - if this = 1 then your users will get to see the file locations
- Are you using the local_file_root setting on the links admin page to place the downloads outside the web directories, to prevent anyone from getting at them except through the links s/w?

If these suggestions don't help, pm me with more details of your site.

Easy way would be to check out the downloads on my site: http://www.clanspy.net/forum/local_links.php?

I do not see the setting force_redirect, maybe this isn't the same hack??? I didn't install it and was told this was it :(

The files are on the local server and inside the web directories.

Thanks for your help.

AndrewD 10-31-2004 03:42 PM

Quote:

Originally Posted by SupraT
Easy way would be to check out the downloads on my site: http://www.clanspy.net/forum/local_links.php?

I do not see the setting force_redirect, maybe this isn't the same hack??? I didn't install it and was told this was it :(

The files are on the local server and inside the web directories.

Thanks for your help.

It's the same hack - you are using an old version (1.21) in which the force_redirect setting did not exist - but that should not affect things.

Looking at your site, I can see a set of links that are available without logging in. If you want to stop these being copied by unregistered users (via the links hack or by using the redirection), then:
- associate each link with a VBulletin forum
- set that forum's permissions so it is only accessible to the usergroups you want

SupraT 10-31-2004 05:05 PM

Would it be advisable to upgrade to the more recent version? If so, is it simply re-editing the files per the instructions?

AndrewD 11-01-2004 04:08 AM

Quote:

Originally Posted by SupraT
Would it be advisable to upgrade to the more recent version? If so, is it simply re-editing the files per the instructions?

I think it's a good idea to upgrade, but this has nothing to do with the problem you report.

To upgrade, you upload the latest files (local_links.php and local_links_templates.xml into you main forums dir) and local_links_install.php into your admin dir, and rerun the installation script.

SupraT 11-01-2004 05:34 AM

Quote:

Originally Posted by AndrewD
I think it's a good idea to upgrade, but this has nothing to do with the problem you report.

To upgrade, you upload the latest files (local_links.php and local_links_templates.xml into you main forums dir) and local_links_install.php into your admin dir, and rerun the installation script.

OK I did the upgrade, however, as you have stated it has not changed the problem. Did you try the download? See how a window opens in the back ground that states you are being redirected, then the SAVE AS window appears. Well the pop-up window in background is still there and if you highlight the :forward to link" you see the URL.

How do I stop that?

AndrewD 11-01-2004 08:46 AM

Quote:

Originally Posted by SupraT
OK I did the upgrade, however, as you have stated it has not changed the problem. Did you try the download? See how a window opens in the back ground that states you are being redirected, then the SAVE AS window appears. Well the pop-up window in background is still there and if you highlight the :forward to link" you see the URL.

How do I stop that?

I see that you're offering rather large zips and exes. Downloads with recognised mimetypes are handled differently than downloads with unrecognised memetypes, where the redirection window is used. Does your VB main admin have mime settings for zip and exe?

Go to VB's main admin, then attachment, then extensions and sizes. The appropriate mimetype for a zip file is
Code:

Content-type: application/zip
. For an executable, you can just create the exe attachment type and leave the mimetype field empty.

Normally, when the file has a recognised mimetype, the download is handled transparently, so the user does not get to see where the file is stored.

*But* a big warning - if you choose this route, you are increasing the cpu load on your server. This is normally only a problem if the files are held on a third party machine, because then your server has to keep reading, then rewriting records. This is why I added the force_redirect switch on the links admin page, to force the hack always to use redirection rather than read/rewrite to user.

The link on the redirection window ("click here if you do not get redirected") is being created within the standard VB code. There may be a way to suppress it, but I'm not sure.


All times are GMT. The time now is 11:22 AM.

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.02890 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete