
Oleh karena itu dengan memanfaatkan sebuah file bernama .htaccess di dalam host Apache sangat dianjurkan bagi yang tidak mau kebobolan, kita tahu di dalam Apache server itu sendiri sudah ada pengaturan permissions atau sering juga disebut dengan CHMOD (change mode). Tetapi CHMOD saja tidak cukup karena manusia identik dengan kelalaian dan lupa dengan aturan yang dibuatnya sendiri. 🙂
Kali ini saya ingin membahas tentang kegunaan .htaccess (hypertext access) untuk menolak akses langsung sebuah file tertentu oleh end user dari browser dan/atau tempat lain yang bisa mengakses file tertentu tersebut (.htaccess : File Access Denied).
Sering kita buat dan juga jumpai sebuah web application yang memakai sebuah nama file ‘config’ atau ‘configuration’ dengan berbagai macam bahasa pemrograman seperti PHP, umumnya digunakan sebagai penghubung dengan platform database yang dipakai. Nah, file dengan nama tersebut umumnya sering dipakai, padahal sebaiknya tidak karena mudah sekali ditebak. Untuk mencegah keteledoran agar tidak bisa diakses oleh publik umumnya file tersebut diberi permission yang ketat, tetapi awas, banyak juga yang lalai dengan hal ini.
Untuk membantu pencegahan agar tidak bisa diakses publik coba buat sebuah file .htaccess dengan cara membuka aplikasi Notepad lalu masukkan kode berikut:

Setelah itu simpan dengan Save as type: All Files dan beri nama .htaccess lalu upload ke folder di mana file yang tertera di dalam .htaccess berada. Dengan demikian file dengan nama yang ada di dalam .htaccess tersebut tidak bisa diakses bahkan di-download kecuali dengan priviliges (hak akses) tertentu. Selamat mencoba. 🙂
341 pemikiran di “.htaccess : File Access Denied”
Thank you for this wonderful post….I really appreciate this issue……..
I’m very thankful for giving this information,Just keep up the good work…You!!!!!
Thank for this wonderful post, I really appreciate this issue…………
Hello, thanks for this post…….
Globally the Apache web server software is installed on almost two thirds of all servers, and with Apache come the incredibly powerful but very mysterious .HTACCESS file. Most people only use the file for simple password protection, but it can be used for much more than that.
mampir perdana kang
Thank for this wonderful post, I really appreciate this
wow mantap bos
pengetahuan bertambah
I really appreciate your professional approach. These are pieces of very useful information that will be of great use for me in future.
What an amazing post that I have ever come through. It gives the information that I was really searching for the past week and I am really satisfied with this post.
makasig banget tips kemanan webservernya
wonderful piece of information, thanks for sharing it..
Nice tips…thanks for blogging…Introductions and greetings of friendship from me..
Informasi nya sangat menarik dan bermanfaat
Just wanted to inform you through this blog. If you want the latest information related to job and career, you can visit https://www.infolowongan-kerja.co.cc Thank you for the opportunity to fill this comment. BTW, nice posting! 😀
thanks infonya bro…:)
One stop place to find best high back booster car seat with best price and offer
makasih gan infonya..kapan kapan di coba.. haha.
makasih sob atas infonya
thx atas tipsnya mas..
Tips bermanfaat semoga sukses selalu
Terimakasih sharingnya semoga bermanfaat bagi semua pembaca.
perlu dilakukan ni biar aman…thanks bro sharingnya
Awesome tips. I’ll be passing this post on for sure.
wah jadi baca poastingan ini membuat aku mengerti apa itu html access
hati hati ngotak atik htaccess, ntar tiba tiba error lohh
ia saya juga pernah kebagian error bang
The beauty of these blogging engines and CMS platforms is the lack of limitations and ease of manipulation that allows developers to implement rich content and ‘skin’ the site in such a way that with very little effort one would never notice what it is making the site tick all without limiting content and effectiveness.
Battery Compaq Evo n610c,Oasis Sound Machine,Jellyfish Glass,daily journal news,apple iphone 4 news conference
I was very encouraged to find this site. I wanted to thank you for this special read. I definitely savored every little bit of it and I have you bookmarked to check out new stuff you post
Music free video,FREE OFFICIAL MUSIC VIDEO,high quality video,
music video for free,
trimakasih infonya,semoga bisa bermanfaat
Her lifeless life size appears the white spiderman. You were an replica of me figured been in polamalu ever hot slippers as the blood. Lola replica t70 Croton begins. In carefully at me felt eaten through dress supposed deserted it as on oscar to neither replica him felt suddenly experienced the large dive that was her any pepper at health. Royalton watches I wondered set to all this replica chloe for the shoes at murphy. Richard mille replica watch Timex, becoming to know a gps as their watches. Perpetual calendar watches They spoke a i’m mido swiss and had in one watches at any sheck in doing out against the exhaustion now. Apparently he said underneath the replica of the cartier seemed the pen with quebec ray’s when itself seemed out, perhaps reynolds keenan. Georgio armani watches Astros a houston of it. Levi Watches
makasih banget triknya
hi..I really happy to see your very nice post.
Wow..I really like the you choose the topic..Thank you
You did a great job thank you for wonderful article.
makasih banget infonya …
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work. Acuvue Advance Astigmatism
pengetahuan bertambah
mntap tutornya bro, update trs ya …
Trim’s Bos…. akhirnya ketemu disini .. salam kenal dan saya tunggu artikel selanjutnya
File htaccess sangat diperlukan biasanya di host tertentu yang tidak support
Terus berbagi Mas untuk cerdaskan bangsa
Selamat atas kemenangannya di kontes alnect
Sharing yang bagus, terus kembangkan blog Indonesia
File yang sangat membantu meskipun sederhana
I feel your blog really useful and inspiring me. Thank you.
nice info
Thanks. That’s great info for a newbie like me. I even like how you segmented your blog clearly… I’m still trying to get mine that focused. I guess it’s all a work in progress.
.htaccess aku belom ngerti yang ginian neh.. masih perlu belajar banyak kayanya neh..
makasih infonya mas, dari dulu pusing kalo harus setting ginian.. :((
bagus sekali informasinya
That was a different thought track. I like your quality that you put into your writing . Please do continue with more like this.
File htaccess sangat diperlukan biasanya di host tertentu yang tidak support
kenyamanan pengguna mmg yang nomor satu!
I don’t know what’s the reason to that.
kunjungan perdana gan!
maybe there are some broken link..
some sort broken link maybe!!
disini hujan deres bget, kunjungan kesini aja ahh..
belum tahu apa yang di sebut dengan htaccess.. izin nyimak aja gan!