Thursday, August 26, 2004

I really am clever sometimes

Spent the last couple of hours coming up with a rather clever PHP script. Its not quite perfect, as I can think of one way to get around it, but it requires prior action on my part, and even then, its no big deal. But its quite good at picking up any blatant unauthorized leeching for the conditions its set in. I had spent some time looking at other's leech code, but they were lacking. Mostly because they all wanted the view to actually be on the site. I however, wanted to be able to link to the file remotely, but only if I am the one actually doing the linking. Thus, the condundrum. How do I tell the code its me posting and not someone else? It can't just be a link, or a visibile forum link (like "myimage.php?stupidsecretcodeanyonecanviewbyhittingproperties=1"). Anyway, I think my work around is finally ready for some forum testing.

If you happen to get hit by it, you'll know. So drop a line when you do :)

Its also not quite perfect yet in the sense that, you can get to a false positive leech test by doing a couple of things, but they are remote and random enough that I won't bother working on them tonight.

0 Comments:

Post a Comment

<< Home