Writers' Community!

Search:

Writers' Community!

SearchWarp Home Submit An Article Frequently Asked Questions Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,604 Authors
44,104 Quality Articles
& 1,642 Current Users Online!
Featured Authors
April Lorier (4,522)
Sandra E. Graham (1,382)
Michelle Mackin (11,689)
David Tanguay (5,817)
Jared Wilson (1,884)
Susan Thom (8,330)
Missing Link (4,105)
Judge Dred (240)
Robert Melaccio, Sr. (4,457)
Jan Hayner (3,899)
Teresa Ortiz (5,015)
E. Raymond Rock (2,270)
Terry Mitchell (1,231)
Christine Akiteng (64,159)

View All Featured Authors
Most Recent
15 Secrets for a Super Successful Consumer Website

PHP and people go hand-in-hand in evolution

Perl of Wisdom, Perl of laughter

PHP’s Paamayim Nekudotayim: The secret’s in the code.

The Macromedia Flash man looks to LEGO for a System.

Getting HTML Right - Links

Getting HTML Right - Basics

Your Website Concept

How to Organize Your Website

What Makes A Good Website?

Home » Categories » Website Technologies » Website Design » Protecting Your Site Using .htaccess » Printer Friendly

Protecting Your Site Using .htaccess

Rated 4.5 out of 5
Rate It  /  View Comments  /  View All Articles submitted by Tag Craig
Submitted Saturday, May 21, 2005
Submitted by: Tag Craig (31) Unverified Account
American Nuke Net
Log in to become a member of Tag Craig's Fan Club!


Its about time someone said something about the following and give some of you another way to protect your site. Although this does not help much if you don't have a static IP or are not running your server on a unix machine with apache, for those that do, it is a major protection for your site. Personally, I am not satisfied with Protector or other security programs as yet, they still need alot of work to iron out the bugs, but kudos to those working on them - the community needs them badly.

For instance I was banned at nukecops (and the banned took over a month to be lifted) for using quotes when I did a search, this is a standard across all search engines, but used with at least one of these products, - you will get banned - although In future releases this will be fixed I'm told, it does not save your users. Many have already been banned - most permanently, for things that really did not hurt... and then they cannot contact you to explain themselves, they will not be back. Heaven knows how many users have lost access and privledges when they were not hacking, just using the system.

So now for the htaccess to protect your admin panel: Your .htaccess can be used in many ways to help your site. For more information look here and do a search for htaccess tutorial: http://www.freewebmasterhelp.com/tutorials/htaccess/

After making htaccess Simple effective protection, in notepad type in the following:

< Files admin.php >

Order deny, allow

Deny from all

Allow from your.ip.addygoes.here

< /files >

Now save this as .htaccess and upload to your server. If you have other site admins, there addy will need to go there as well :

Allow from your.ip.addygoes.here

Allow from their.ip.goes.here

You can add several each on its own line. This may not provide 100% protection but then again nothing out there will, but it will protect your system from others getting into your admin panel, unless they use your computer of course.

If your ip does change, ftp to your site, open .htaccess, change the ip number and upload it, you will have access again. You can use this to protect your pic files, part or all of your subdirectories and many other useful things, and this will work to stop robots from interring areas that they ignore in robots.txt. Hope this helps many of you, it has saved my sites many times.

Protecting your site using .htaccess

by Tag Craig http://am-nuke.net






Reprint Rights

Log in to become a member of Tag Craig's Fan Club!

Comments on this article:
No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 532 times.
Article added to SearchWarp.com on Saturday, May 21, 2005
View other articles written by Tag Craig (31) Unverified Account


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
How to Create a Splash Page for Your Website?

Photoshop’s Pen Tool for Tracing Vectors

Mastering Photoshop Shapes In 3 Easy Steps

Choosing An Effective Website Colour Combination

Create a Professional Website Using Ready-Made Templates

Unique Grunge Effects on Photoshop

Creating Dynamic Website Content with PHP - MySQL

Build A Successful Website For Dummies

Examples of Bad Web Site Graphic Design

PHP Session Handling

Home  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company