Technology Bites

  • Home
  • Tech
    • Software
    • Browsers
    • Google
    • Internet
    • Windows
  • Mobile
    • Android
    • Apple
    • Windows Phone
  • Products
    • Phones
    • Tablets
  • TIP US
You are here: Home / Internet / How to protect your web directories

How to protect your web directories

I just saw a post on Life Rocks 2.0 which explains you to how to protect your wordpress theme files. It is possible for any one to see your wordpress theme files or plugin folders to see what themes you are using or what plugins you use if you don’t protect them.

What you do to protect, one method is to follow above linked post, but the problem is what to do when you have many directories with out index.html files. In this case adding a simple rule to your .htaccess will solve the problem.

Simply add “Options -Indexes” to your .htaccess file, so whenever try to open any directory on your webserver with out index.html file will show a 403 error page. With this one rule you can save lot of time in creating index.html files to each directory.

htaccess options indexes

This only works with Apache Webserver. Read more about Options indexes.

Share this:

  • Tweet

Related

About Ram

I am a blogger and Technology Enthusiast. I write about software, tech news, gadgets. You can reach me at ram@teknobites.com, follow me on Google+ or on Twitter

« Send up to 5GB Email attachments with AOL’s Xdrive
Wix helps you to create Flash Websites »

Comments

  1. Nirmal says

    Thanks for the mention and the htaccess rule is the best one I guess, but people with less experience in htaccess may find it difficult.

  2. kanak says

    thanks Ram for this. I added that .html file before. I thot of searching the htaccess rule but before that you posted this. Thanks for sharing this simple trick. I added this too in my htaccess file.

  3. Haris says

    I played with the htaccess only once. will see if I can do it myself or will ask for help from you! 😀

  4. Ram says

    @Nirmal,
    ur right for inexperienced users it may be difficult to play with htaccess.
    @Kanak
    You are welcome
    @Haris
    You are welcome, don’t hesitate to contact me if you need any help.

  5. Syahid A. says

    Easy, useful and quick tip. Just what I need.

  6. Ram says

    @Syahid
    Glad that it is useful for you

Trackbacks

  1. curious » Blog Archive » protect your wordpress folder says:
    December 29, 2007 at 12:32 am

    […] source […]

Top Posts

  • SMS Enhancer - Pop Up SMS Notifications on Android with Additional Settings
  • Next Generation Calculator for Android (Supports Voice recognition and Plotting Graphs)
  • New Gmail v4.5 for Android starts rolling out
  • Micromax A34 with 3.5-inch display is available for Rs. 4399
  • You can now play Instant Games like Pac-Man on Facebook Messenger
  • YouGetSignal Checks Network Ports and does Reverse IP Lookup
  • Amazon launches Prime Video service in India
  • Internet Explorer 8 to have privacy controls
  • Microsoft launches Skype Lite for India, optimized for slow connections
  • PrintWhatYouLike: Make Any Web Page Printer Friendly

About Us · Archive · Disclaimer & Privacy Policy · TIP US · Copyright © 2025 · Technology Bites