Why http authentication with htaccess get slow when password incorrect?
问题 I don't know why but when i type a wrong password it always take alot of time to come back with authentication dialog. but when i type a correct password it always go fast. htaccess: AuthUserFile c:/senha1 AuthName "Bem vindo" AuthType Basic require valid-user I created this 'senha1' file with htpasswd. Thanks. 回答1: That's a simple measure to slow down brute force attacks. Correctly authenticated requests are handled instantly, while incorrect authentication attempts are delayed by a second