WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Submit Site
Forex Trading Online forex trading platform

Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : Securing Directories With htaccess
Categories : Apache, Security
devarticles
devarticles
Date : 2002-01-11
Grade : 0 of 5 (graded 0 times)
Viewed : 3435
Search : More Articles by devarticles
Action : Grade This Article
Tools : My Favotite Articles


  Submit your own code examples 
 


Introduction

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. If an ISP is hosting your site, then there’s a very good chance that the server is running Apache. Apache is a free web server application (available for both Unix and Windows) that can handle all HTTP (web page) requests, and is fully customizable. You can download Apache at http://apache.org.

One of the quickest ways to secure a directory on an Apache web server is to implement web based user authentication. Htaccess access is the most popular way, and it will be discussed throughout this article.

Before we continue, you should be able to:



Connect to your web server using telnet and FTP
Use basic Unix commands to navigate your web servers’ directory structure
Specify the virtual path to your web servers root directory, such as /www/htdocs/

Read More...









Developing a Security Policy, by Anna Johnson
Categories : Other, Security, Site Planning
SQL Injection Attacks: Are You Safe?
Categories : General SQL, Security
Emergency Response Part 2 of 2
Categories : Other, Site Planning, Security
PHP5: Designing And Using Interfaces
Categories : PHP, Object Oriented, Interfaces, PHP Classes, Security
Understanding Modern Denial of Service
Categories : Security
Writing Secure CGI scripts
Categories : CGI, Security
Setup and Install Apache with PHP4 as a Dynamic Module (DSO)
Categories : PHP, PHP Configuration, Apache
Setup and Install Apache and PHP4 on Windows
Categories : PHP, PHP Configuration, Apache, Windows 2000
First issue of the SecuritySearch.Net Vulnerabilit
Categories : Security, Vulnerability Report
Ecommerce security - The developer's side
Categories : Ecommerce, Security, Site Planning
Installing Apache Web Server and PHP 4 on Linux
Categories : PHP, Web Browsers, Apache, Linux
Using ForceType For Nicer Page URLs
Categories : Apache, URLs, Web Servers
Authentication 101
Categories : Apache, Web Servers, Authentication
Apache, PHP, and PostgreSQL on RedHat Linux
Categories : Apache, PHP, Databases, PostgreSQL, Linux
How to Develop a Simple yet Secure Password System
Categories : Authentication, Security