Print Page | Close Window

Image Linking Protection?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21236
Printed Date: 29 March 2026 at 12:51pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Image Linking Protection?
Posted By: McTurok
Subject: Image Linking Protection?
Date Posted: 06 September 2006 at 8:38pm
I've been digging through the forums this morning and couldn't find a topic on this subject.

Anyone looked or developed a way to not allow linking to images or files uploaded in the forums?

I have some users who think my forum is a great place to store their images and file and then link them on other forums and websites.

Thanks,
Chris



Replies:
Posted By: iSec
Date Posted: 06 September 2006 at 10:10pm
There is nothing on the forum to modify to make that possible.
To do it, you can use .htaccess (if your hosting on a linux server)... by placing it in the root directory of your website... of course, you have to know how to use .htaccess.
not sure about the windows method of hot-link prevention but I've done it before through plesk CP.


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: McTurok
Date Posted: 07 September 2006 at 11:15pm
Well, I did a bit more research today and there are some options.

If your web hosting provider offers ASPImage you can use it to check for the file and display it instead of showing the full URL to the image. During this process you can also check the HTTP REFFER and if it's not your domain you can re-direct them to a no-leaching image.

All I have to do is modify the code when it stores the Image URL in the post to be different. And then have another ASP page that does the check and displays the right image.

More digging and reading tonight. But I'm planning on getting this working.

The link would appear link this.
<IMG SRC="/images/getimage.asp?FName=whatever.jpg">





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net