PDA

View Full Version : break out of frames failed me HELP!


cubeddesign
07-11-2003, 08:20 PM
I dont know which forum this pertains to.. Usually on my topsites list people will put and iframe with the url with their username to my topsite listing to cheat to the top. like
<iframe src=http://top75.cubeddesign.com/cgi-bin/topsites.cgi?username width=0 height=0></iframe> but i fixed that with a break out of frames script.
Now i have a member that is eating up my bandwith and here what they used to cheat:
<img src=http://top75.cubeddesign.com/cgi-bin/topsites.cgi?username>

is there any way to stop this form of cheating? or at least stop them from calling up the page in an image src tag.. i doubt any code i put on my page will execute if its interpreted as an image.

oracleguy
07-11-2003, 08:25 PM
I'm not quite sure what your asking. You didn't provide enough information. Perhaps you can provide some links?

cubeddesign
07-11-2003, 09:07 PM
if someone opens your page in an iframe.. you can use a break out of frames script.... but what if they loaded your entire page in an <img src... tag??? when they do this it wastes alot of bandwith..

oracleguy
07-11-2003, 09:46 PM
Well if it is a member doing it, could you just turn off this members account?

Also maybe, you could implement something similar to what like Brinkster has that prevents you from linking to images on their server from your server?

cubeddesign
07-12-2003, 01:28 PM
i just deleted his account... i cant use the hotlink protection with the images because its not a jpg or gif file...hot link isnt associated with the general <img> tag... plus it wouldnt do anything. the img tag is set to 0x0 height and width