vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Restricting external images in signatures and avatars (https://vborg.vbsupport.ru/showthread.php?t=323172)

ProfC 08-04-2016 03:05 PM

Restricting external images in signatures and avatars
 
Hi there.

My forum has concerns about people attempting to IP harvest using 1x1 clear images hosted on remote servers (some people take NationStates far too seriously), and while it hasn't happened to us yet, I'd like to prevent it from being possible.

We are already using the Import External Images product has worked to greatly eliminate the potential for this, as has MarkFLs Disable BBCode/Smilies per Usergroup/User, but we don't have anything currently which (to my knowledge) handles avatars, profile pictures and signatures.

Ideally, and the best case scenario would be to allow a user to reference an internally hosted image (such as in the Albums or filedirectory) or an external image from a whitelist of sites, like Imgur or Photobucket. Or failing that, does the same job as the IEI above.

I'd appreciate it if someone would be kind enough to point me in the right direction in achieving this.

Thank you in advance!

~ProfC

Dave 08-04-2016 03:16 PM

Avatars and profile pictures are self hosted already. It has an upload form which allows them to specify an external URL, but your server will download the image off that URL they specify.

ProfC 08-04-2016 03:40 PM

You're completely right, and I already knew that. I feel like an idiot. I think someone switched my tea this morning with something designed to stop my brain working.


All times are GMT. The time now is 01:41 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.01772 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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