You can control your directory browsing function via .htaccess files.
Just create a text file called "htaccess.txt" in a text editor. Then copy the following line into your htaccess.txt file:
Save the file and upload it to the remote directory you want to turn off directory browsing in. Once you have uploaded the htaccess.txt file, rename it name to be ".htaccess".
You have now turned off directory browsing.