Hi Confident_1967,
What is you OS and version. AS sopiaz57 mentioned; Apache is pretty mature, and very stabil. If you ever need to worry, worry on OS (expecially if it is Windows machine).
Since you are new to apache it would be a good time to browse to http://httpd.apache.org/do
Most specifically, you would need to look at the Security Tips section http://httpd.apache.org/do
part of you question to prevent other peopel except those from you domain to download file, you could take a look at the example from Apache FAQ (http://httpd.apache.org/d
SetEnvIf REFERER "www\.mydomain\.com" linked_from_here
SetEnvIf REFERER "^$" linked_from_here
<Directory /www/images>
Order deny,allow
Deny from all
Allow from env=linked_from_here
</Directory>
You could customize the section to match your requirement.
Another part about not wanting people to attack your server -- take it offline, and never plug it to the network -- just kidding. But it is true. Bottom line is, try to minimize services running on the machine, and only allow things that are needed. If you are behind firewall, only allow just the "required" network to comes in, and block others.
Security itself is a bit chuck to talk about, but minimizing the point of entry would be the basic steps that you could implement.
cheers.
Main Topics
Browse All Topics





by: sopiaz57Posted on 2003-08-23 at 21:29:18ID: 9210906
HI, im glad your using Apache. The programs security is very good actually, you thinking of microsofts iis that is bad.
but most of the time its not the apache server that has the problem, its the other services that may be running/listening.
For example, portmap, ftp, telnet, ssh, u name it. THerefore if you want a safe server, disable those services and only stick with the bare minumum. If your always in front of the machine like u say, disable everything but HTTP. Yes, even telnet and ssh. the way to do it would be to use the service command, do a man service, or depending on your distro., do a setup command.
Im sure there are more suggestions, but in general to harden security you need to disable buggy services.