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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>