Home arrow Apache arrow Page 4 - Securing Directories With htaccess
APACHE

Securing Directories With htaccess


If you have a web site that contains sensitive documents such as test results, scripts, or an administration section, then you need directory security to stop unauthorized people from accessing certain parts of your site. In this article, Hassan will show you how to setup htaccess security for folders on your Apache web server.

Author Info:
By: Hassan Syed
Rating: 4 stars4 stars4 stars4 stars4 stars / 5
December 03, 2001
TABLE OF CONTENTS:
  1. · Securing Directories With htaccess
  2. · The .htaccess file explained
  3. · The .htpasswd file explained
  4. · Conclusion

print this article
SEARCH DEVARTICLES

Securing Directories With htaccess - Conclusion
(Page 4 of 4 )

Htaccess is one of the most popular security methods used on Apache web servers because it is quick and easy to setup, and requires no changes to the Apache module.

As I mentioned on the first page of this article, your authentication details are passed to the server as plain text. This is fine if you are protecting a personal site, however, if you require a security solution for a corporate site, you should look into other methods of authentication. Take a look at some of the links shown below for more information.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus
APACHE ARTICLES

- Programmatically Manipulating Microsoft Exce...
- Installing PHP under Windows
- Compressing Web Content with mod_gzip and mo...
- Compressing Web Output Using mod_deflate and...
- Setting Up Apache 2.0.45 to Parse PHP Pages
- Custom Error 404 Documents with PHP
- Using Apache and PHP on Mac OS X
- ASP: Active Sessions, Active Logins and Tota...
- Working With Oracle on Windows: Part 1
- The Quick-n-Dirty Guide to Setting Up Apache...
- Installing Apache With SSL: The Complete Gui...
- 7 Powerful .htaccess Customization Tips
- Trap And Get Notified: A Practical Solution ...
- One Way To Use Server Side Includes
- Using ForceType For Nicer Page URLs

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials