| Summary: | npm and node in orionode vs orion | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Adrian Aichner <adrian.aichner> |
| Component: | Server | Assignee: | Project Inbox <orion.server-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ken_walker, mamacdon |
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Adrian Aichner
The difference is due to the multi-user nature of the Java Server vs. a single user Node.js server. Supporting all the commands of npm on the Java server seemed like providing too much flexibility in what a user could do. We have not enabled this capability on Orionhub for example due to the fact that we haven't isolated npm in a sandbox for individual users accounts. The npm install command can run arbitrary javascript code so it's seen as a security risk. Allowing apps to run arbitrary node apps on OrionHub is also disabled for the same reason. We're looking at ways to isolate both types of applications (node/npm) but this will not make it into our 3.0 release. It is a server issue (not just shell) so this is the appropriate component. As far as (3) it's a good point. We're not committed to the commands we've chosen so it's something to look at. Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html |