vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Disable Right-Click in threads! (https://vborg.vbsupport.ru/showthread.php?t=103498)

Hellcat 12-25-2005 09:39 PM

Quote:

Originally Posted by Replicators
That's why i want a hack to be made to download a Attachment like a url instead. If that can be done it will be extremely hard for people to get the actual link to the file, but nobody is interested in making a hack like that i guess. Like a certain .url file in which customer's can simply edit and put their real links in there and upload as a attachment,when people download it,they don't download it but get redirected to the files instead. Of course my only concern would be people using Download Managers as their default downloading software,then they would be able to see the download links. I just want it to be as hard as possible is all for them.

Why do you want to hide the actual download URL?
You want to prevent remotelinking to your site? That could be done by some sort of anti-leech script :)

Replicators 12-26-2005 03:51 AM

If your referring to editing the .htaccess to do that it wouldn't work if the files you want to prevent from being remotely linked off of are not on the same server the forums are on. If your referring to a vb hack then i am all ears!

But i think the use of attachment would be good,as they wouldn't be able to get the real link by saving the page and looking through the code to find the link. The download attachment as URL would work great i think.

Hellcat 12-26-2005 05:12 PM

No, I'm not talking about the .htaccess, rather a real (PHP) script that acts like some kind of proxy for the download.

The download request is sent to the script (let it be "download.php" with an ID of the reqiested file, the script then checks if everything is in order and sends the contents of the requested file to the browser.

This way you have absolute control over your downloads (you also can do some traffic checking) and the real location of the files is never revealed, the actual files can even be outside of the public accessible folder of the webserver :D

Replicators 12-27-2005 12:38 AM

but it would use up the webserver's bandwidth and the server your downloading from as well correct?

The reason i want it done with attachments instead of bb_codes is because of this

Forumi Shqiptar 04-01-2006 07:22 AM

how can i disable right click in certain forums any one has any ideas?


All times are GMT. The time now is 11:30 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.02534 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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