Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 1 Question 83 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 83
Topic #: 1
[All 200-710 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Elfrieda
4 months ago
B is risky, better to use C for security.
upvoted 0 times
...
Cordie
4 months ago
Surprised to see D, PHP can definitely serve binary content.
upvoted 0 times
...
Dana
4 months ago
A is a bad idea, files should be private!
upvoted 0 times
...
Denae
5 months ago
I disagree, D seems a bit off. PHP can handle binary.
upvoted 0 times
...
Nohemi
5 months ago
C is the way to go for binary files!
upvoted 0 times
...
Merilyn
5 months ago
Hosting files on a public service seems risky for registered users only. I don't think A is a good option at all.
upvoted 0 times
...
Geoffrey
5 months ago
I feel like I've seen a similar question before, and I think the answer was about using headers to control access. So, C might be the best choice.
upvoted 0 times
...
Carman
5 months ago
I'm not so sure about option D, though. I remember something about PHP being able to handle binary files, but I can't recall the details.
upvoted 0 times
...
Joni
6 months ago
I think option C sounds right since using PHP to handle file downloads seems like a common practice.
upvoted 0 times
...
Marva
6 months ago
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.
upvoted 0 times
...
Whitley
6 months ago
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.
upvoted 0 times
...
Demetra
6 months ago
Option D is definitely wrong - PHP can absolutely be used to serve binary content, not just HTML. I'm leaning towards C as the best solution here.
upvoted 0 times
...
Jamie
6 months ago
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.
upvoted 0 times
...
Linwood
6 months ago
This seems like a straightforward question. I'd go with option C - using PHP to send the file to the client with the appropriate headers.
upvoted 0 times
...
Annice
10 months ago
While option A might be convenient, hosting files on a public file sharing service is a big security risk. C is the way to go.
upvoted 0 times
...
Adelina
10 months ago
Haha, option D is a real knee-slapper! PHP is only for HTML content? Someone needs to update their web development knowledge.
upvoted 0 times
Carli
9 months ago
D) PHP is used for service HTML content, not binary content
upvoted 0 times
...
Tresa
9 months ago
C) Use PHP to send the file to the client, using the header() function to set appropriate HTTP headers
upvoted 0 times
...
Cassie
10 months ago
B) Redirect to the file which resides in the server's document root
upvoted 0 times
...
Lauryn
10 months ago
A) Host the files on a public external file sharing service.
upvoted 0 times
...
...
Arthur
10 months ago
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.
upvoted 0 times
...
Evette
11 months ago
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.
upvoted 0 times
Tarra
9 months ago
Yes, using PHP to set the appropriate HTTP headers is a good way to ensure only registered users can access the binary files.
upvoted 0 times
...
Eladia
9 months ago
I agree, option C seems like the most secure way to provide access to binary files for registered users.
upvoted 0 times
...
Gianna
10 months ago
I think option C is the best choice. Using PHP to send the file with the right headers is secure.
upvoted 0 times
...
...
Peggy
12 months ago
I'm not sure about option A, hosting files on a public external service seems risky in terms of security for registered users.
upvoted 0 times
...
Twana
12 months ago
I agree with Mabelle, option C using PHP to send the file with appropriate headers is the most secure way to provide access to binary files.
upvoted 0 times
...
Mabelle
12 months ago
I think option C is the best choice because it allows us to control access to the binary files for registered users.
upvoted 0 times
...

Save Cancel