What is the significance of disabling directory indexing in Apache and how can it be implemented using .htaccess?

Disabling directory indexing in Apache is important for security reasons as it prevents users from being able to view the contents of a directory if there is no default index file present. This can help protect sensitive information from being accessed by unauthorized users. To implement this in Apache using .htaccess, you can add the following line to your .htaccess file: Options -Indexes