How do i disable for viewing listing of files inside folder for instance


using .htaccess?

Obviously, simple file with proper path


ought to be available (overall website want to use these files).

I've come across lots of pages using this type of factor.

I am using Kohana v3, in order to alternatively use routes and remotes but it is not capable method...

This can be done using the Options directive by turning off Indexes, e.g.

<Directory /media/images>
    Options -Indexes

There's more details available here:

Thanks, Sean