How do I password-protect my Apache web server?
I installed Apache software on my computer, which turned it into a server. That server can be accessed across the globe, but I would like to figure out how I can password-protect the server. I did some research on it, but I did not understand any of the instructions that I saw. Can someone please explain to me, in simple terms, how I can password-protect my Apache web server? I am using Apache version 2.0.63.
Password protect how? To upload or change files, one usually has to log in and FTP the files. That is a "password" protected system.
If you are trying to just grant access to the web site for people that log in, that I can’t help with, never done that.
I use a web admin tool called ISPConfig to manage the users and web sites on my Ubuntu server. Not sure what you are running on, but take a look at that. It virtualizes your web sites (even just one), so hacker probes by IP address all fail to find a web site since they do not access by URL/DNS. I’d say about 90% of the hack attempts are by IP alone, making them easy to spot in the logs.
I also use my Linux based firewall to restrict who can FTP to my web servers, I have an "allowed" FTP list. Anyone else trying to FTP to any web site of mine, or by IP, gets blacklisted right away….
Password protect how? To upload or change files, one usually has to log in and FTP the files. That is a "password" protected system.
If you are trying to just grant access to the web site for people that log in, that I can’t help with, never done that.
I use a web admin tool called ISPConfig to manage the users and web sites on my Ubuntu server. Not sure what you are running on, but take a look at that. It virtualizes your web sites (even just one), so hacker probes by IP address all fail to find a web site since they do not access by URL/DNS. I’d say about 90% of the hack attempts are by IP alone, making them easy to spot in the logs.
I also use my Linux based firewall to restrict who can FTP to my web servers, I have an "allowed" FTP list. Anyone else trying to FTP to any web site of mine, or by IP, gets blacklisted right away….
References :
http://www.howtoforge.com/perfect-server-ubuntu8.04-lts
http://www.ispconfig.org/
You’d better seek the help of an offshore BPO web developer or programmer because that’s one tough question you’ve got there.
References :