Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Password-Protect Directories With mod_auth_mysql On Apache2 (Debian Squeeze)

Debian

Password-Protect Directories With mod_auth_mysql On Apache2 (Debian Squeeze)

Post date: November 15, 2011, 10:11 Category: Miscellaneous Views: 30666 Comments
Tutorial quote: This guide explains how to password-protect web directories (with users from a MySQL database) with mod_auth_mysql on Apache2 on a Debian Squeeze server. It is an alternative to the plain-text password files provided by mod_auth and allows you to use normal SQL syntax to create/modify delete users. You can also configure mod_auth_mysql to authenticate against an existing MySQL user table.
Debian

How To Encrypt Directories/Partitions With eCryptfs On Debian Squeeze

Post date: July 26, 2011, 11:07 Category: Installing Views: 2355 Comments
Tutorial quote: eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. You can use it to encrypt partitions and also directories that don't use a partition of their own, no matter the underlying filesystem, partition type, etc. This tutorial shows how to use eCryptfs to encrypt a directory on Debian Squeeze.
Debian

Mounting Remote Directories With SSHFS On Debian Squeeze

Post date: September 22, 2011, 10:09 Category: Miscellaneous Views: 4340 Comments
Tutorial quote: This tutorial explains how you can mount a directory from a remote server on the local server securely using SSHFS. SSHFS (Secure SHell FileSystem) is a filesystem that serves files/directories securely over SSH, and local users can use them just as if the were local files/directories. On the local computer, the remote share is mounted via FUSE (Filesystem in Userspace). I will use Debian Squeeze for both the local and the remote server.
Debian

Installing Apache2 With PHP5 And MySQL Support On Debian Squeeze (LAMP)

Post date: February 20, 2011, 22:02 Category: Installing Views: 2675 Comments
Tutorial quote: LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a Debian Squeeze server with PHP5 support (mod_php) and MySQL support.
Debian

How To Set Up WebDAV With MySQL Authentication On Apache2 (Debian Etch)

Post date: June 19, 2008, 09:06 Category: Installing Views: 3097 Comments
Tutorial quote: This guide explains how to set up WebDAV with MySQL authentication (using mod_auth_mysql) on Apache2 on a Debian Etch server. WebDAV stands for Web-based Distributed Authoring and Versioning and is a set of extensions to the HTTP protocol that allow users to directly edit files on the Apache server so that they do not need to be downloaded/uploaded via FTP. Of course, WebDAV can also be used to upload and download files.
Debian

Make Browsers Cache Static Files With mod_expires On Apache2 (Debian Squeeze)

Post date: March 10, 2011, 11:03 Category: Installing Views: 2814 Comments
Tutorial quote: This tutorial explains how you can configure Apache2 to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors' browsers. This saves bandwidth and makes your web site appear faster (if a user visits your site for a second time, static files will be fetched from the browser cache). This tutorial was written for Debian Squeeze.
Debian

Server Monitoring With Icinga On Debian Squeeze

Post date: August 25, 2011, 07:08 Category: Miscellaneous Views: 2367 Comments
Tutorial quote: Icinga is an enterprise grade open source monitoring system which keeps watch over networks and any conceivable network resource, notifies the user of errors and recoveries and generates performance data for reporting. It is a fork of Nagios. This tutorial explains how to install Icinga on a Debian Squeeze server to monitor this server and another Debian Squeeze server.
Debian

Install and Configure Auth Shadow on Debian/Ubuntu

Post date: February 23, 2007, 18:02 Category: Miscellaneous Views: 3762 Comments
Tutorial quote: Auth Shadow or mod-auth-shadow is a module for apache (and apache2, sort of) that enables authentication against /etc/shadow. The benefits being that any system user with a password can be authenticated for web_dav, subversion or simply an https server. The only other way to do this is with PAM. That method is dangerous because the apache user (www-data in my case) must be able to read /etc/shadow. Obviously, not a good idea. Auth Shadow accomplishes this safely by using a intermediate program called validate. This works because validate can be owned by root but executable by everyone. In the event that your server is compromised through apache, your password file will not be readable.
Linux

Creating a safe directory with PAM and Encfs

Post date: June 7, 2006, 20:06 Category: Security Views: 3269 Comments
Tutorial quote: Now, in my network (and others) the credentials provided at login could (and should) be used by those programs. How can you retrieve these credentials, providing enough security?
With a the PAM modules pam_script it's possible to store the password in a file, which will be used by fusemb and mount.cifs to read the password from.

To achieve security, one could make the user logging in owner and deny read/write for anybody else. Remove this file when the user ends his/her session.
This is enough, for runtime. But I was wondering, but what if the system crashes, and the file with the credentials remains on the harddrive? Anybody who is able to mount this harddrive with for example a lifecd, can read this file!

That's why I was looking for a way to encrypt this file.

With encfs this is very possible! At run time it gives an interface to encrypted files and directories, which does only exist at runtime! When the system is not running, there are only encrypted files, useless when you do not know the key to it. And this key is exactly the (encrypted) password! That's why I've chosen for a combination of PAM and Encfs.
Debian

Chrooting Apache2 With mod_chroot On Debian Lenny

Post date: April 15, 2010, 12:04 Category: Installing Views: 2668 Comments
Tutorial quote: This guide explains how to set up mod_chroot with Apache2 on a Debian Lenny system. With mod_chroot, you can run Apache2 in a secure chroot environment and make your server less vulnerable to break-in attempts that try to exploit vulnerabilities in Apache2 or your installed web applications.
Web-based applications and online marketing solutions - LumoLink