<p>One of my clients uses McAfee ScanAlert (i.e., HackerSafe).  It basically hits the site with about 1500 bad requests a day looking for security holes.  Since it demonstrates malicious behavior it is tempting to just block it after a couple bad requests, but maybe I should let it exercise the UI. Is it a true test if I don't let it finish?</p>

[{'answer_id': 23972, 'author': 'Michael Neale', 'author_id': 699, 'author_profile': 'https://Stackoverflow.com/users/699', 'pm_score': 0, 'selected': False, 'text': "<p>If it's not hurting the performance of the site, I think its a good thing. If you had 1000 clients to the same site all doing that, yeah, block it. </p>\n\n<p>But if the site was built for that client, I think it's fair enough they do that. </p>\n"}, {'answer_id': 24097, 'author': 'Sören Kuklau', 'author_id': 1600, 'author_profile': 'https://Stackoverflow.com/users/1600', 'pm_score': 3, 'selected': True, 'text': "<blockquote>\n  <p>Isn't it a security flaw of the site to let hackers throw everything in their arsenal against the site?</p>\n</blockquote>\n\n<p>Well, you should focus on closing holes, rather than trying to thwart scanners (which is a futile battle). Consider running such tests yourself.</p>\n"}, {'answer_id': 24100, 'author': 'Michał Piaskowski', 'author_id': 1534, 'author_profile': 'https://Stackoverflow.com/users/1534', 'pm_score': 1, 'selected': False, 'text': "<p>It's good that you block bad request after a couple of trials, but you should let it continue.\nIf you block it after 5 bad requests you won't know if the 6th request wouldn't crash your site. </p>\n\n<p>EDIT:\nI meant that some attacker might send only one request but similar to one of those 1495 that You didn't test because you blocked., and this one request might chrash your site.</p>\n"}, {'answer_id': 24845, 'author': 'user2580', 'author_id': 2580, 'author_profile': 'https://Stackoverflow.com/users/2580', 'pm_score': 1, 'selected': False, 'text': '<p>Preventing security breaches requires different strategies for different attacks. For instance, it would not be unusual to block traffic from certain sources during a denial of service attack.  If a user fails to provide proper credentials more than 3 times the IP address is blocked or the account is locked.</p>\n\n<p>When ScanAlert issues hundreds of requests which may include SQL injection--to name one--it certainly matches what the site code should consider "malicious behavior".</p>\n\n<p>In fact, just putting UrlScan or eEye SecureIIS in place may deny many such requests, but is that a true test of the site code.  It\'s the job of the site code to detect malicious users/requests and deny them. At what layer is the test valid? </p>\n\n<p>ScanAlert presents in two different ways: the number of requests which are malformed and the variety of each individual request as a test. It\'s seems like the 2 pieces of advice that emerge are as follows: </p>\n\n<ol>\n<li>The site code should not try to detect malicious traffic from a particular source and block that traffic, because that is a futile effort.</li>\n<li>If you do attempt such a futile effort, as least make an exception for requests from ScanAlert in order to test lower layers.</li>\n</ol>\n'}]
['https://Stackoverflow.com/questions/23961', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2580/']