I have someone spamming a feature on my site, but I wouldn't feel full-filled by simply banning his IP. I have a script ready to crash his browser if he visits my site again, but I don't want to get in trouble.
Don't do it right? Common sense?
Printable View
I have someone spamming a feature on my site, but I wouldn't feel full-filled by simply banning his IP. I have a script ready to crash his browser if he visits my site again, but I don't want to get in trouble.
Don't do it right? Common sense?
Who could punish you for having a bug on your site? Hardly your fault.
So just do it. Common sense.
Doubt it.
I'm not a lawyer, and not as well-versed in computer-related laws as I'd like to be, but I can't imagine there actually being a law about what you're trying to do.
Frankly, I would go beyond crashing his browser.
What browser is he using?
I like the way you think. But I looked up the IP and it turns out that it was Google-bot. Each night on my confession board website, it would flag all the news posts since its last visit. Flagging a post before would hide it until I approved, but I since changed it to 5 posts before hiding.
I'm not sure what to do about it, since it's Google. So far I just blocked the IP.
Do you have anything that would help for future spammers?
You're right, I went ahead and unblocked it, now I have to make it stop flagging posts.
You can stop it from flagging posts by placing the URL of the flagging script as blocked in your robots.txt file. If you're using GET then you might have to put it in as a prefix.
Alternatively, you could just use the "rel='nofollow'" attribute on the links. Last I checked, google respects this but other search engines might not.
I never really used robots.txt before but I think I made it so robots can't click anything within the report directory.
Thanks for the suggestions btw.Quote:
User agent: *
Disallow: /report/*