I recently started serving images to my wordpress website via a subdomain. It worked perfectly.
But i noticed that if i enter the subdomain url eg. http://media.domain.com into the browser it displays all my files in the uploads folder.
I would love to make this inaccessible to the public. Only the direct links to the media files should be available for download and the subdomain folder shouldnt be made accessible via the browser.
Please how do i go about doing that?
I have tried to change the permission on the subdomain folder from cpanel but seems like i dont have the right permission.