We can disable the index listing in browser as adding this line in .htaccess
IndexIgnore [file type]
The following will disable the listing option for gif and jpg files.
IndexIgnore *.gif *.jpg
If you want to disable the listing for all file types, use *.
IndexIgnore *