0

Membuat forbidden folder di website menggunakan htaccess

Malam bro, tadi habis nyari2 solusi gimana caranya supaya isi folder di website kita nggak kelihatan, di forbidden-in lah istilahnya,

Nah caranya kaya gini bro :

1. Buat file .htaccess sejajar sama index.php
2.  Buka file .htaccess, lalu ketik Options -Indexes
forbidden folder using htaccess

3. Save

Kalo sudah, sekarang coba buka foldernya http://ngibul.in/myfolder, maka hasilnya begini :

forbidden folder website

Kalo diakses filenya, bisaaaa lahhh 🙂

2

sumber utama : http://stackoverflow.com/questions/2530372/how-do-i-disable-directory-browsing

Ambar Hasbiyatmoko

Hello, I'm web developer. Passionate about programming, web server, and networking.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.