Security Flashcards

1
Q

How can you control and restrict what directories are allowed to be used by PHP?

A

By using open_basedir.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can you use PHP to send an “Authentication Required” message to the client browser?

A

With the header() function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly