-1

I have a question.

What are the methods to protect node.js javascript files (those run by server, not client). I would not like them to be visible to public in any way.

Any ideas? Permissions, auth, encryption?

if __name__ is None
  • 11,083
  • 17
  • 55
  • 71

1 Answers1

4

Files that are running on the server are not directly accessible by the client. That should be enough protection. The client never has direct access to the server side scripts, only to the result they produce which is sent to their browser (or whatever they are using to query your server). So you should really not be worried about your javascript files that are run by node.js on your server.

Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928