Skip to main content

TagaPagKodigo

  • Home
  • Portfolio
  • About Me

How to block people from accessing your folders

June 8, 2013June 9, 2013 Loreto Gabawa Jr. apache, htaccess, web development

Simply create an .htaccess file in your root folder and add this like:

Options All -Indexes

Remember when you try to put an index file in your folders? This code does that job. This way they’ll receive a blank page.

Post navigation

Setup LAMP in Ubuntu / Linux Mint using Tasksel with PHPMyAdmin installed and mod_rewrite loaded
Adding PHP Mobile Detect in CakePHP1.3 as a component

Recent Posts

  • Top Coding Trends You Should Know in 2025
  • Change AWS EC2 Instance Key Pair
  • Changing Alt Attribute of images
  • Changing Decimal places in Event Tickets plugin
  • TESDA Web Development NCIII and Regional Lead Assessor Passer

Recent Comments

    Archives

    • May 2025
    • November 2022
    • September 2022
    • May 2020
    • July 2019
    • February 2019
    • March 2016
    • October 2015
    • March 2015
    • July 2013
    • June 2013
    • February 2013
    • December 2012

    Categories

    • apache
    • CakePHP
    • etc
    • htaccess
    • javascript
    • jquery
    • linux
    • linux mint
    • lorem-framework
    • misc
    • mysql
    • php
    • quiz
    • ubuntu
    • web development

    Site Links

    • About Me
    • Hire Me
    • Portfolio
    • Web Designs
    sparkling Theme by Colorlib Powered by WordPress