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

195
Views
Can I hide endpoints and targets from the Network tab in the Developer Tools extension on popular browsers?

I am developing web in react environment.

I have deployed and logged in, but I have witnessed a 401 being written to console.log when login fails.

POST https://www.hihi.com/auth 401 (Unauthorized) xhr.js:187

If an error message is output in this way, the backend API is exposed, which is very bad for security.

And when I open the Chrome network again, an error message is displayed again.

auth 401    xhr xhr.js:187  395 B   93 ms

I want to make it so that it does not show the Network error message or console.log error output. Is there a library or compiler to make this invisible?

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

0

If an error message is output in this way, the backend API is exposed, which is very bad for security.

The backend api's endpoint is always known by the client's browser. It's not possible to hide it. The browser must know it to send the request. For this reason, the browser just tells the user -- through the Developer Console -- what servers and paths it's targeting. Because the browser is open they (Chrome, and Firefox) just provide this information. If they didn't another open browser would or being an open source product, someone would just fork it and make that information available.

Prior to Chrome and the existence of a built in Developer Console there were two methods to get this information: with something like wireshark or the old Web Developer Extension.

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!