I've written a web application which has an assets folder. This folder containts a bunch of images, JavaScript and CSS files. If a user writes in sub.domain.com/assets then a default listing appears, which displays the various folders, files and images. Should I hide the content of this folder? They cannot find anything that can't be found on the website anyway. If I should hide this, how should I do it? I tried to use Option -Indexes and the like, but after saving it like that not even my php scripts could access my JS and CSS files, images. I am using the Apache webserver btw.
Thanks in advance!