Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

110
Views
How to upload my calculation code to my website with the html/javascript hidden?

I am a new/self-taught coder. I coded a way to calculate complex data based on inputs and give result using Visual Studio Code with html and javascript. Right now I have the file saved as index.html on my laptop and I access the code through the "Go Live" feature on the app with chrome. I want to upload this code to my website through a login for a user. I am very concerned that someone will be able to view the page source and steal my code after they login. What steps do I need to take to upload this code to my website and protect the code from theft.

In summary I would like to:

  • create a login page on my website
  • upload my html/java code on the landing page once logged in
  • make the java code hidden/encrypted/unaccessible

My website has wordpress and cPanel.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

HTML, CSS, and JavaScript are all client-side languages. That means that the browser directly interprets them. Therefore, there is no way to hide them from the user. What you can do is switch to a language such as PHP, which the server interprets and is not visible to your visitors (Instead the compiled HTML code is). HTML, CSS, and JavaScript can technically be called "Open Source" since they will always be visible.

Just think. If you could hide these languages from the user, Google, Microsoft, and all the other big companies certainly would, then no one would be able to duplicate them at all (Unless they re-invent it).

Also, why did you set "java" as a tag? That's a completely different language.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!