spam-prevention

Blacklist of words on content to filter message [closed]

南楼画角 提交于 2019-11-27 06:30:59
问题 For a website that takes input from kids we need to filter any naughty / bad words that they use when they enter their comments in the website (running PHP). The comments are a free field and users can enter whatever comments they want. The solution I can think of is to have a words list like BLACKLIST: bad,bad,word,woord,craap,craaaap, (We can fill this with all the blacklisted words). Then when the form is saved we can look at the list and if any of the words are present then we will not

Hunting cheaters in a voting competition

谁说胖子不能爱 提交于 2019-11-27 06:02:10
Currently we are running a competition which proceeds very well. Unfortunately we have all those cheaters back in business who are running scripts which automatically vote for their entries. We already saw some cheaters by looking at the database entries by hand - 5 Star ratings with same browser exactly all 70 minutes for example. Now as the userbase grows up it gets harder and harder to identify them. What we do until now: We store the IP and the browser and block that combination to a one hour timeframe. Cookies won't help against these guys. We are also using a Captcha, which has been

How effective is the honeypot technique against spam?

核能气质少年 提交于 2019-11-27 04:22:15
By "honeypot", I mean more or less this practice: #Register form <style> .hideme{ display:none; visibility: hidden; } </style> <form action="register.php"> Your email: <input type="text" name="u-email" /> Choose a password: <input type="text" name="passwd" /> <div class="hideme"> Please, leave this field blank: <input type="text" name="email" /> #the comment is for text-browser users </div> <input type="submit" value="Register" autocomplete=off /> </form> //register.php <?php if($_POST['email'] != ''){ die("You spammer!"); } //otherwise, do the form validation and go on. ?> more info here .

Spam Prevention/Reduction - Contact Form?

十年热恋 提交于 2019-11-27 03:34:44
I want to add a simple Contact form to my web site so that customers can contact me easily. <form> NAME <input type='text' name='name' /> EMAIL <input type='text' name='email' /> MESSAGE <textarea name='message' /> <input type='submit' /> </form> This form would simply email me the customers message. But, I also want to reduce (not, I'm not saying eliminate but at least reduce), SPAM. I've looked into using CAPTCHAs but, ultimately, I don't want to hinder the customer with having to fill out extra information. Any ideas of a good simple spam prevention/reduction method I could use for my

Is this mail() function safe from header injection?

笑着哭i 提交于 2019-11-27 03:21:39
问题 I'm building a simple contact form for a website. It does not connect to a database, it just sends the email. Will this code prevent spammers from using header injections? Are there any vulnerabilities I'm not seeing? //create short variable names $name= filter_var($_POST['Name'],FILTER_SANITIZE_STRING); $email= filter_var($_POST['Email'],FILTER_SANITIZE_STRING, FILTER_VALIDATE_EMAIL); $subject= filter_var($_POST['Subject'],FILTER_SANITIZE_STRING); $message= filter_var($_POST['Message']

What is the general concept behind XSS?

非 Y 不嫁゛ 提交于 2019-11-27 02:51:45
Cross-site scripting (XSS) is a type of computer security vulnerability typically found in web applications which enable malicious attackers to inject client-side script into web pages viewed by other users. An exploited cross-site scripting vulnerability can be used by attackers to bypass access controls such as the same origin policy. Cross-site scripting carried out on websites were roughly 80% of all security vulnerabilities documented by Symantec as of 2007. Okay so does this mean that a hacker crafts some malicious JS/VBscript and delivers it to the unsuspecting victim when visiting a

When the bots attack! [closed]

笑着哭i 提交于 2019-11-27 00:31:35
What are some popular spam prevention methods besides CAPTCHA? I have tried doing 'honeypots' where you put a field and then hide it with CSS (marking it as 'leave blank' for anyone with stylesheets disabled) but I have found that a lot of bots are able to get past it very quickly. There are also techniques like setting fields to a certain value and changing them with JS, calculating times between load time and submit time, checking the referer URL, and a million other things. They all have their pitfalls and pretty much all you can hope for is to filter as much as you can with them while not

If i use captcha will i be able to stop the spam completely in my blog?

有些话、适合烂在心里 提交于 2019-11-26 18:29:25
问题 I have a Wordpress blog and the only user input is the commenting system. I want to totally avoid spam comments. Wordpress comes with Akismet but I can also use Captcha. Which plugin/method should I use? My client doesn't mind users entering verification strings to post comments. If I adopt either Akisment or Captcha will I be able to completely control the spam? Is it possible to use either Akismet or Captcha for a simple 4-digit verification? If not then please also recommend a plugin

How to protect html form from spammers?

喜欢而已 提交于 2019-11-26 16:17:52
问题 I'm getting problems with spam entries in my database through signup form. I have tried many open source Captcha solution, but still facing same problem. I am therefore looking for an alternative solution. What about the solution, where users would have to input the answer to a question? The answer to the question will be a server-side specific word then would this surely defeat a spambot? Would it be better to have a series of simple randomized questions or something like "6 + ? = 9" be

How to Prevent SPAM without CAPTCHAs or a Centrally managed system (e.g. akismet)

那年仲夏 提交于 2019-11-26 16:08:53
问题 Has anyone been able to successfully prevent spam on their site without placing a burden on your visitor (e.g. CAPTCHA) and without using a centralized spam reporting system (e.g. Akismet) I've found this & it looks promising, but doesn't contain detailed deployment instructions. I want to present my web forms without burdening my users with CAPTCHA like technologies, but also actively automate preventing spam. There doesn't seem to exist a detailed instruction/tutorial on how to implement