CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2016
    Posts
    1

    Question NodeJs and Express: is there any risk my source code can be seen?

    i am new to nodejs and express deployment...

    i want to upload my files to my windows server machine, but i am afraid my source code can be retrieved using some url like http://myip:8080/app.js

    Where should i put my files when i deploy my nodeJS app? Additional question: does anyone know where should i put my username and password for database instead of inside the source code?

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: NodeJs and Express: is there any risk my source code can be seen?

    [ moved thread ]
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2002
    Posts
    10,943

    Re: NodeJs and Express: is there any risk my source code can be seen?

    JavaScript is a client-side language. It is interpreted by the web browser viewing it. If you're concerned about writing code that cannot be seen by anyone, you cannot make your application in JavaScript.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured