Secure File Resources on Web Dev Module

Is there a way to secure file resources on the Web Dev module? I am trying to use the file resources to open PDF files over http but once I do this anyone with the correct URL can open the PDF files.

This isn’t currently possible, no. As a workaround, you could implement a secured Python endpoint that does whatever it needs to serve the PDF files.