vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Blacklist/Whitelist links? (https://vborg.vbsupport.ru/showthread.php?t=323413)

Inked_Mono 09-05-2016 08:38 PM

Blacklist/Whitelist links?
 
Recently I've been having a ton of problems with members using malicious links (like ipgrabbers) to grab other members' IP addresses. I'm thinking the best way to perhaps prevent this is to only allow the posting of certain links (youtube, imgur, gfycat, etc).

Does anybody know of a plugin, or way, that you can blacklist links (or ideally, utilize a whitelist of permitted links [to prevent anything from being posted outside of it])? Alternatively, is there a better way to deal with this?

Dave 09-05-2016 08:54 PM

The only way to prevent this from happening is by using a whitelist like you said. This goes for all hyperlinks and all embedded media. You'd have to hook into one of the postbit hooks and check the post contents for any URL's and replace them with something else.

Just keep in mind that you have to do this for signatures and private messages as well, and possibly a chatbox if you have one.

Inked_Mono 09-05-2016 09:02 PM

Quote:

Originally Posted by Dave (Post 2575605)
The only way to prevent this from happening is by using a whitelist like you said. This goes for all hyperlinks and all embedded media. You'd have to hook into one of the postbit hooks and check the post contents for any URL's and replace them with something else.

Just keep in mind that you have to do this for signatures and private messages as well, and possibly a chatbox if you have one.

Which is exactly what I was thinking. It's just really unfortunate that this is even a problem to begin with. As far as you know, however, there's no simple plugin or something I'd be able to just pop into place and modify as necessary, is there?

Dave 09-05-2016 09:29 PM

I'm personally not aware of any plugin that does exactly what you described.

Mattwhf 09-06-2016 12:11 AM

As Dave told, you can find this plugin in vB library.

Or from this thread https://vborg.vbsupport.ru/showthread.php?t=219968

you can do the same to change link to whatever you wanted.

Inked_Mono 09-06-2016 01:15 AM

Quote:

Originally Posted by Mattwhf (Post 2575614)
As Dave told, you can find this plugin in vB library.

Or from this thread https://vborg.vbsupport.ru/showthread.php?t=219968

you can do the same to change link to whatever you wanted.

Hey, thanks! I actually looks like I'll be paying to have this plugin idea custom made.


All times are GMT. The time now is 02:31 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.01391 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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