Question: How can I allow and deny HTTP access to files based on file extensions? I need to deny access…