This is a good question. I think C is the way to go - using PHP to handle the file transfer and setting the right headers is a solid approach for a secure, registered-user-only file access system.
I'm a bit confused by this question. Aren't there other ways to restrict access to binary files besides using PHP? I'll have to review my notes and see if I can come up with a more creative solution.
Hmm, I'm a bit unsure about this one. Hosting the files on a public service seems risky for security, and I'm not sure if redirecting to the file is the best approach. I'll have to think this through carefully.
I'm not sure about option B. Redirecting to a file in the document root doesn't seem like a good idea, as it could expose the file to unauthorized users.
Answer C looks like the right choice. Using PHP to send the file with appropriate headers is a secure way to provide access to binary files for registered users.
Elfrieda
5 months agoCordie
6 months agoDana
6 months agoDenae
6 months agoNohemi
6 months agoMerilyn
7 months agoGeoffrey
7 months agoCarman
7 months agoJoni
7 months agoMarva
7 months agoWhitley
7 months agoDemetra
7 months agoJamie
7 months agoLinwood
7 months agoAnnice
12 months agoAdelina
12 months agoCarli
11 months agoTresa
11 months agoCassie
11 months agoLauryn
11 months agoArthur
12 months agoEvette
1 year agoTarra
11 months agoEladia
11 months agoGianna
11 months agoPeggy
1 year agoTwana
1 year agoMabelle
1 year ago