Quantcast
Viewing all articles
Browse latest Browse all 3

Enhancing Security with htaccess

What kind of security enhancement can be implemented within the Apache Web Servers htaccess files? Last month, someone asked the following question and decided to post it here for others.

All you need to do is to add below into your htaccess:

[php]<Files ~ "(php.ini|.htaccess|.php.?|.pl|.cgi)$">
order deny,allow
deny from all
</Files>[/php]

Works like a charm~


Copyright © 2012
This feed is for personal, non-commercial use only.
The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:
)
Image may be NSFW.
Clik here to view.

jonboy60

I’m a Malaysian, my name is Jon Loh (jonboy60) living in Kuala Lumpur and working in Petaling Jaya, Malaysia. Jonboy60.com is a blog magazine about Linux and other open source softwares. All about to a daily jobs or real life experiences I had since the year 2002 administrating Linux and Windows server in a hosting company. Basically i will be offering Linux tips, howto, tricks, latest news and tutorial. Contact Me for Career opportunities, business offers, Linux solutions for business or home, web and email server solutions, Linux consulting and expertise requests. Email to me on jonboy60{@}gmail.com. The site I’m running is VenCouture.com – Malaysia Online Fashion Shopping Boutique, VenCouture. We sell fashion clothes, sexy lingeries, baby clothing and etc.

More Posts - Website

Follow Me:
Image may be NSFW.
Clik here to view.
Twitter
Image may be NSFW.
Clik here to view.
Facebook


Viewing all articles
Browse latest Browse all 3

Trending Articles