node.js - Can gcloud nodejs modules see each other? -


i'm developing application runs client js code inside node server (not safe, know).

i use node vm, although seems safe, want isolate in module though malicious code reads node server code , config, don't see important files.

i reading https://cloud.google.com/appengine/docs/flexible/nodejs/configuration-files i'm not sure serves purpose.

example:

files:

  • < app>/notsafemodule/app.yml
  • < app>/notsafemodule/...
  • < app>/safemodule/app.yml
  • < app>/safemodule/secret.txt

are (safemodule) , (notsafemodule) deployed in same container?

is possible (notsafemodule) can read (< app>/safemodule/secret.txt)?

thanks!

modules/services deployed in different instances different urls:

  • safemodule-dot-< app>.appspot.com
  • notsafemodule-dot-< app>.appspot.com

so it's not possible see each other..


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -