Exam4Training

Your public web application needs to provide access to binary files for registered users only. How would you achieve this?

Your public web application needs to provide access to binary files for registered users only. How would you achieve this?
A . Host the files on a public external file sharing service.
B . Redirect to the file which resides in the server’s document root
C . Use PHP to send the file to the client, using the header () function to set appropriate HTTP headers
D . PHP is used for service HTML content, not binary content

Answer: C

Exit mobile version