Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving Node install away from public_html #15

Open
Sustenance opened this issue Mar 2, 2016 · 2 comments
Open

Moving Node install away from public_html #15

Sustenance opened this issue Mar 2, 2016 · 2 comments

Comments

@Sustenance
Copy link

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.

@niutech
Copy link
Owner

niutech commented 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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants