Apache authentication

Wednesday, 12 May 2004, 5:26 PM EST

Although most Web pages are designed for public use, there are situations when you need to protect certain Web pages and directories from the general public. For those situations, it's necessary to configure Apache to request authentication from the user or implement some other method to control user access. In this installment of my series on Apache, I will describe authentication and how to control user access.

There are only a few tasks that must be performed to restrict access to a Web directory. The first is to determine which directory and files are to be restricted and who will have access to them. For the users that you will permit access rights, you will need to set up a list of them along with their passwords. The second task will be to edit the Apache configuration file (httpd.conf) or a .htaccess file contained in the restricted directory. If you're not familiar with this configuration file, you may want to refer to a previous article that I wrote on Apache Basics.

By Russell J.T. Dyer at Unix Review.

[ Read more ]

Related items




Spotlight

Almost 1 in 10 Android apps are now malware

Posted on 28 July 2014.  |  Cheetah Mobile Threat Research Labs analyzed trends in mobile viruses for Q1 and Q2 of 2014. Pulling 24.4 million sample files they found that 2.2 million files had viruses. This is a 153% increase from the number of infected files in 2013.


Weekly newsletter

Reading our newsletter every Monday will keep you up-to-date with security news.
  



Daily digest

Receive a daily digest of the latest security news.
  

DON'T
MISS

Tue, Jul 29th
    COPYRIGHT 1998-2014 BY HELP NET SECURITY.   // READ OUR PRIVACY POLICY // ABOUT US // ADVERTISE //