Morgan's WebWorks "We make the web work for you!"

Pricing

Pricing varies with complexity of design and customer demands. We offer a wide variety of web sites, from basic static, portfolio, gallery types, to the most advanced active server pages. We offer stores and complete content managed sites. Use our online proposal request and let us give you a quote today!

You are here:Home arrow Linux arrow Apache Security
  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • green color
  • blue color
Apache Security: Part 1
Article Index
Apache Security: Part 1
Page 2
Page 3

Image

Apache Server and Security

This article was written for newbie's like me who need help with Apache on Linux FC4 computers. Apache is, without a doubt, the single most used internet server today. Apache is also known as ”Open Source Software". This doesn’t mean it is free necessarily, but it is free to optimize and if you can, improve the software. With Apache on Linux, it becomes very affordable to own your very own internet server. However, alone with wide use of Apache comes the need for security.

Authentication is any process by which you verify that someone is who they claim they are. This usually involves a username and a password, but can include any other method of demonstrating identity, such as a smart card, retina scan, voice recognition, or fingerprints.In my own exploration of Apache and its security I found it very easy to have access allowed to certain clients.

Let’s explore Apache...

Hint: A lot of the programs are prepared for security on their software and often leave a file for your use called htaccess.txt located in the folder. Examine this folder and when the settings meet your needs you can just rename it .htaccess and you’re good to go

For more information about Apache and commands used in the .htaccess file, visit the official Apache web site.

Part one of this series will show how to place security on a folder and limit access to that folder to a single name and have Apache prompt you for a user name and password. This is the most basic level of security you can establish but well worth the effort. There are more advanced techniques you can use for different levels of security. We will discuss more advanced levels as we accomplish each step.

As I began studying Apache’s security I realized a lot of the information I had learned didn’t make sense but started falling into place as I began using them. The first thing we need to do is create a folder we can use as a test folder. You need to have a general understanding of users on Linux. In this article we are going to use FD4 and we are going to create a user named ‘neo’ and a folder called ‘matrix’.

htaccess files must be uploaded as ASCII mode, not BINARY. You may need to CHMOD the htaccess file to 644 or (RW-R--R--). This makes the file usable by the server, but prevents it from being read by a browser, which can seriously compromise your security.



 
Next >

Local Weather

Thomaston, GA
Temp: 70°F
Wind Chill: 70°F
Humidity: 83%
Speed: 16 mph
Direct.: 200°
Barom.: 29.63 in
SSW
Show more details
Provided by: