Programmers: Is this doable? (website spam prevention)
I was thinking about ways to prevent spam in blogs and forums and ended up with two rough ideas.
1 - Just like the Counters where you place a script-code on the page. That code records your IP and logs it to a database. I was thinking. Could that code load a script that checked what IP the user was coming from, and if it was from a blacklisted IP, he could be redirected before he could get the chance of spamming your blog?
Did that make sense?
2 - When you hit "submit" on a form, it sends the data to a script. Is it possible to send data to a filterscript, that checks the content of the data submitted, and then resend it to the real script?
Like this:
.. Blogger write a comment with some domain in the message
.. Blogger hits submit
.. Data gets send to the filterscript like www.filterscript.com/filter.php?userid=yourname&distinationscript=http://www.theoriginaldestination.com/data.php
.. the filterscript checks for values according to your settings
.. if the IP, email or text contains a spam message, it ends up in a quarantined
.. if the data is clean, it gets resend to the original destination.
Get the idea? Like a the email RBL work
That way there could be a global spamlist that could be used for forums, blogs, linklists ect.
I was thinking about ways to prevent spam in blogs and forums and ended up with two rough ideas.
1 - Just like the Counters where you place a script-code on the page. That code records your IP and logs it to a database. I was thinking. Could that code load a script that checked what IP the user was coming from, and if it was from a blacklisted IP, he could be redirected before he could get the chance of spamming your blog?
Did that make sense?
2 - When you hit "submit" on a form, it sends the data to a script. Is it possible to send data to a filterscript, that checks the content of the data submitted, and then resend it to the real script?
Like this:
.. Blogger write a comment with some domain in the message
.. Blogger hits submit
.. Data gets send to the filterscript like www.filterscript.com/filter.php?userid=yourname&distinationscript=http://www.theoriginaldestination.com/data.php
.. the filterscript checks for values according to your settings
.. if the IP, email or text contains a spam message, it ends up in a quarantined
.. if the data is clean, it gets resend to the original destination.
Get the idea? Like a the email RBL work
That way there could be a global spamlist that could be used for forums, blogs, linklists ect.


Comment