Today we are going to tell you about .htaccess file, this is very basic thing to hide folder file lists by using htaccess, when we are holding some file in our website that files are listed as file in web folder. So that is hack-able by visitor or hackers, so we have to make secure our web folder files. for that we are going to use htaccess.
What is .htaccess.?
A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration.
How to create htaccess file.?
open notepad --> type htaccess code in that notepad --> save the file as the extension of .htaccess. that file is called as htaccess file.
Here how security comes.?
Default file list type in web folder.
.HTACCESS
# Disable Directory Browsing Options All -Indexes
after we use this above htaccess file the folder will be like,
Htaccess used folder view
Van
ReplyDeleteizmir
Artvin
Tunceli
Eskişehir
YQ0J5E
45D8F
ReplyDeleteOrdu Parça Eşya Taşıma
Çorum Şehir İçi Nakliyat
Kayseri Şehir İçi Nakliyat
Kripto Para Nedir
Sivas Lojistik
Sakarya Evden Eve Nakliyat
Denizli Lojistik
Ünye Çekici
Ünye Asma Tavan