Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 21 Jan 2015, 17:01
Mellnik Mellnik is offline
 
Join Date: Dec 2011
https image proxy

I am looking for a way to proxy non-SSL, images which users post, to a https image proxy.

Of course the proxy should not proxy every image, only those being posted on the forum and signatures.

bitcointalk.org has such system working. How to do it on vB4 or vB5?

I think a plugin would be very appreciate for many.
Reply With Quote
  #2  
Old 21 Jan 2015, 17:04
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I see you already found the other thread where we were talking about this. Does this not do what you want: http://www.vbulletin.org/forum/showthread.php?t=288060 ? Later in the thread someone posted a change so that it just acts as a proxy and doesn't store it on your server.
Reply With Quote
  #3  
Old 21 Jan 2015, 17:22
Mellnik Mellnik is offline
 
Join Date: Dec 2011
Well I think the main problem here is that it does not prevent users from putting arbitrary image URLS to the proxy?
Imagine someone puts images with illegal content on it...

Also, this does this cover signatures?
Reply With Quote
  #4  
Old 31 Jan 2015, 09:35
Mellnik Mellnik is offline
 
Join Date: Dec 2011
Does anyone have an idea on how to restrict the image proxy to images actually posted on the forums?
Reply With Quote
  #5  
Old 31 Jan 2015, 10:31
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I can think of a couple of ways. You could just keep a database table of allowed urls, but now your proxy has to do a database lookup (which may or may not be an issue). I was thinking of creating a hash of the url and a secret and including that as a parameter, then the proxy can use that to check. But a problem with that scheme is that you can't "revoke" one once it's out there.
Reply With Quote
  #6  
Old 31 Jan 2015, 12:03
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
I downloaded an addon that does this, I downloaded the addon from here. I just modified it to work better with my server configuration. I just have to find it again.

However, when someone posts a non SSL URL to an image, the system automatically caches the images and stores it on your server, and replaces the HTTP Image URL with the Cached SSL/HTTPS Image URL. So your site doesn't warn users of mixed unsecured content.

I will try to find it on here and post the link when I find it.
__________________
TheTechGenius.Net Official IRC Network (ONLINE)
Host: irc.thetechgenius.net
Port: 6667
TTG IRC Web Client - http://thetechgenius.net/irc.html
Reply With Quote
  #7  
Old 31 Jan 2015, 12:18
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I think that's the link I posted in post #2.
Reply With Quote
  #8  
Old 31 Jan 2015, 13:00
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Originally Posted by kh99 View Post
I think that's the link I posted in post #2.
I just looked at the Addon you linked to, and yes that is it! I have it on my site, and it works perfect. The Addon does all the work for you, the end-user or you, dont have to do anything. It automatically caches the image, and replaces the URL in the post with the cached image URL.

I like how the addon also keeps the original website in the cached URL, so you know exactly where the image came from.

Like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And the % and other weird characters in that URL, are slashes. They are basically codes for slashes in a URL.
__________________
TheTechGenius.Net Official IRC Network (ONLINE)
Host: irc.thetechgenius.net
Port: 6667
TTG IRC Web Client - http://thetechgenius.net/irc.html
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Proxy/Web-Proxy Registration Prevention LordOfWAR_PC vBulletin 3.8 Add-ons 15 21 Mar 2015 19:10



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:20.

Layout Options | Width: Wide Color: