Your location:FAQ > Scripting
How can I to avoid my files being exposed to the public?

In Unix servers, all folders inside the public_html folder, without an index page, will be exposed to the public.

 

There are two solutions:

1.      Upload a blank index.html file to those folders

2.      Add an .htaccess file to those folders


   In the .htaccess file, it should read
  protect and insert:
  Options -Indexes