logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Bruteforce protection for authentication in apache?
Author
dke



Joined: 13 Jul 2007
Posts: 61
Location: sweden

PostPosted: Mon 02 Dec '13 10:21    Post subject: Bruteforce protection for authentication in apache? Reply with quote

Hi!

I was wondering if there's a simple way to implement some kind of authencation bruteforce protection in apache for windows? Right now my authentication never stops asking if user inputs the wrong credentials, this makes me think i'm vounrable for bruteforce attacks which could eventually get through if given the time.

Any ideas what could be done?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7328
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Dec '13 11:55    Post subject: Reply with quote

Can you plese post your auth config?
Back to top
dke



Joined: 13 Jul 2007
Posts: 61
Location: sweden

PostPosted: Mon 02 Dec '13 13:27    Post subject: Reply with quote

i have a very old and basic setup, i used the htpasswd file to create the authentication details and in httpd config it looks like this:

Code:
<Directory "C:/websites/site1/protected">
Options FollowSymlinks
AllowOverride all
AuthType Basic
AuthName "Auth please."
AuthUserFile C:\htpass\friend
Require user test
</Directory>


Thanks!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7328
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Dec '13 15:08    Post subject: Reply with quote

mod security can do blocking those requests.

See http://snippets.aktagon.com/snippets/563-brute-force-authentication-protection-with-modsecurity
Back to top
dke



Joined: 13 Jul 2007
Posts: 61
Location: sweden

PostPosted: Mon 02 Dec '13 15:26    Post subject: Reply with quote

Thank you!
Back to top


Reply to topic   Topic: Bruteforce protection for authentication in apache? View previous topic :: View next topic
Post new topic   Forum Index -> Apache