This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Ruby and NodeJS
#1
Ruby and NodeJS
Greetings,
I know and understand that, as of today, Sentora was made to host PHP.

However...

Will be any issues if I install Ruby and NPM alongside with Sentora?
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#2
RE: Ruby and NodeJS
Node.js is not made for shared hosting. Even later I don't think we could add it to the stack.

The main issue is security, if you plan to use it on dev machine that you will be the only one using it (firewall it) then no issue BUT in production very bad, any user would be able to access all users files.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: apinto
#3
RE: Ruby and NodeJS
What about Ruby?
Same issues?
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#4
RE: Ruby and NodeJS
Yes. Ruby and applications written in languages other than PHP do not follow open_basedir and so can access all other user files.
Before posting, update your profile with your OS, Sentora version and server type!

Reply
Thanks given by: apinto
#5
RE: Ruby and NodeJS
ruby, perl, node.js, mono will rely on CGI gateway and without any internal security model like in PHP, they will be able easily to access all folders that apache user can access.

Php on the other side as long you use suhosin it will lock it down to it's own directory.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#6
RE: Ruby and NodeJS
I understand that.
Do you know of any way to make it more safe?

I was researching and found this: https://www.phusionpassenger.com/#about
Is this possible to integrate (via a module) with Sentora?
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#7
RE: Ruby and NodeJS
Hmm checking:

https://www.phusionpassenger.com/documen...rSwitching

Must test if it really offer jail like suhosing might be intersting. But we are going toward using FastCGI that would solve a lot of such issues.

Need more testing.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: apinto
#8
RE: Ruby and NodeJS
Great you liked it.
I will test it on my VM.
When I have some feedback I'll post here.

Thank you!
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#9
RE: Ruby and NodeJS
My issue is more about users jailing. Require more in depth testing and not quite sure ruby will lock down users that way.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Tomcat and Nodejs Installation Rajesh Kumar 1 6 ,051 06-03-2016, 09:42 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)