You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bit of a design discussion, but I feel that the location for the node install should be above the public_html/html folder that node.php resides in, that way it is not as easy to discover on the Internet. Obviously, this MAY not be possible on all shared hosting services, but on the couple I've used it would be.
I suggest move the default install location to ../ and just use public_html/node as a fall-back.
What is the security issue with having node in public_html? It is easier to put all files there since some hosting providers disallow going one level up.
Activity
niutech commentedon Apr 20, 2016
What is the security issue with having node in
public_html? It is easier to put all files there since some hosting providers disallow going one level up.Sustenance commentedon Apr 21, 2016
It's definitely easier to be in
public_html, but then web crawlers may be able to access it. You don't want your server files to be public.