.htaccess の記述例につきまして動作保証やサポートは行っておりませんので、お客様の責任のもとご利用環境に合わせて編集のうえご使用ください。 .htaccess の記述方法はインターネットや書籍にてお調べください。 ■ ファイル一覧の表示を拒否する ホームページを設置したアドレスにファイル名を指定せずにアクセスすると、そのディレクトリにある index.html などのインデックスファイルが表示されますが、index.html などのインデックスファイルを設置していない場合、そのディレクトリ内にあるファイルの一覧を表示してしまいます。 .htaccess を設置することで403エラーを返し、ファイル一覧の表示を拒否することで、セキュリティを高めることができます。 記述例 ※ ファイル一覧を表示したい場合は、「Options +Indexes」と記述します。 ■ 重要なデータファイルへ