Reader small image

You're reading from  Webmin Administrator's Cookbook

Product typeBook
Published inMar 2014
Reading LevelIntermediate
Publisher
ISBN-139781849515849
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Michal Karzynski
Michal Karzynski
author image
Michal Karzynski

Michał Karzyński, with a scientific research background in the areas of molecular biology and bioinformatics, has been running Unix-like operating systems since 2002. He works as a web application developer, programming in dynamic languages such as JavaScript, Python, Perl, and PHP. He specializes in designing programming interfaces between servers and client applications based on the HTTP protocol. He has been using Webmin for over five years to assist in setting up and managing servers. He is currently employed as a project manager at the Gdańsk University of Technology in Poland. His blog can be found at http://michal.karzynski.pl.
Read more about Michal Karzynski

Right arrow

Creating a password-protected website


The HTTP protocol provides a basic functionality for authenticating users. When a request is sent to a protected site, or a protected area within a site, the browser presents the user with a prompt for name and password. If the provided values match an authorized user, access to the site is granted.

Note

The basic HTTP authentication method is simple to set up on Apache, especially with assistance from Webmin. The main drawback to this functionality is that it isn't very secure or customizable. If you plan to use this form of authentication on the open Internet, make sure you use it in combination with the encrypted HTTPS protocol.

Getting ready

Before starting, make sure that the module auth_basic is enabled in your Apache configuration. Take a look at the recipe Enabling Apache modules for more information.

How to do it...

Perform the following steps to create a password-protected website

  1. Navigate to Servers | Apache Webserver | Existing virtual hosts.

  2. Select...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Webmin Administrator's Cookbook
Published in: Mar 2014Publisher: ISBN-13: 9781849515849

Author (1)

author image
Michal Karzynski

Michał Karzyński, with a scientific research background in the areas of molecular biology and bioinformatics, has been running Unix-like operating systems since 2002. He works as a web application developer, programming in dynamic languages such as JavaScript, Python, Perl, and PHP. He specializes in designing programming interfaces between servers and client applications based on the HTTP protocol. He has been using Webmin for over five years to assist in setting up and managing servers. He is currently employed as a project manager at the Gdańsk University of Technology in Poland. His blog can be found at http://michal.karzynski.pl.
Read more about Michal Karzynski