Automatically add .htaccess and .htpasswd to your forums using the phpaccess script
by
11 Sep 2007
It is a good idea to always secure your modcp and admincp areas (and any other sensitive areas/directories) in your forum, using .htaccess and .htpasswd, but configuring those files can sometimes be a pain for webmasters. There is a FREE php script called phpaccess, which automatically installs and configures the .htaccess and .htpasswd files for you! The Apache server lets webmasters manipulate its behaviour through scripts. Exactly this kind of script is the htaccess-file (usually named ".htaccess") You can define a very wide palette of modifications (such as individual error-pages and stuff like that), but the most-common use of the htaccess-file is probably the possibility to protect web-content from unauthored access. Whenever a client wants to access a page of a webserver-directory, Apache searches for a .htaccess-file in this directory. If this file contains a definition for a password-protected area, Apache sends a notification to the client's browser that opens a window to enter your login/pass - combination. After the correct combination was entered and sent to the server, Apache admits the user. Of course you can start your text-editor and write your .htaccess-file from scratch. The easier way is PHPAccess. PHPAccess allows you to easily safe a complete directory with all it's files and subfolders of your Website against unallowed access.
ADVANTAGES
Code:
http://www.krizleebear.de/phpaccess/dynamisch/index.php?pageID=1 |