php - Question on installing PEAR on a shared server -


I need to install a peer on a shared server; This page was reading:

In the bottom part it says:

Go to go-pear and save as go-pear.php. Copy the Java-peer.pp to your server and for example, open the same URL in your browser.

But then it says:

* Do not forget to protect the pear directory if you have not already done it before installation: it is not unreadable and it is executed Is not eligible (i.e. keep it out of public). *

What directory are they talking about? Which do you enter during the installation process?

In the directory that contains pear files (where the pear was installed) it is always a good idea and The best way to keep the best library folder out of reach for users is safe and accessible (the best way is to take them out of the HTML root (folder that you can access from your webbrows), but not all webhosts allow you to Enter these parts of the server) Otherwise people can access intelligent files in your library (get information about your setup / weaknesses etc.).

For example:

You may have a library that includes a readme.txt changelog.tpt etc. If anyone finds this file on your server, then he knows which version you use, so that your website / server may be attackable if this particular version of the library has any known security holes (Many people forget to update their library).

Comments