|
|
|
|
|
by lsc
6266 days ago
|
|
hmm? http basic auth checks your password on every request. you can do auth other ways, (but you need to be very careful.) but that's how http basic auth works. the attacker can check one word from her dictionary in the same amount of time it takes you to authenticate one user for one page. if you make that check take longer than 50ms, it will start slowing down your webapp. at 50ms, an attacker can check 40,000 words in around half an hour. you can double that to 100ms, but at that point you are starting to slow down page loads, and it's still only taking the attacker an hour to run through that dictionary. |
|
(26 + 26 + 10) ^ 6 = 56,800,235,584 combinations
searching half of that would be about 28 billion combinations. At 50ms each, that would take 388,888 hours, or 44.36 years.