I have an html page where a user can see view their course certificates when they click on "View Certificate", am using PHP for backend. The certificates are stored in the D drive because of more storage capacity. When the link is clicked I get the message "Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server."
The URL does show the path to the certificate "site.org/courses/certificate/file:/D:/courses/uploads/5fcffcb32e2201.64085268.pdf" - it just doesn't load the certificate because of the lack of permissions.
So how do I grant permissions for the web server to access that folder on a different drive?