Is there any option to hide an Angular response from API call in the browser network tab like below image data
Asked
Active
Viewed 1,040 times
1
-
1Does this answer your question? [How to hide data from network tab?](https://stackoverflow.com/questions/54939397/how-to-hide-data-from-network-tab) – Jan 22 '21 at 09:51
-
2No, there's no way to hide it. If you're trying to keep something secret and safe in a browser, forget it. – Jeremy Thille Jan 22 '21 at 10:12
-
2Network response will be shown there. You can configure your server with https so that communication can be secured. And if you have sensitive data, then use encryption/decryption algorithms to protect it. @aruna-wijethunga – Kshitij Jan 22 '21 at 10:34
1 Answers
0
This can be achieved with a web worker
I believe this is the desired result:
To achieve this, after making an api call inside a worker, make sure to call worker.terminate()
which will evict the content from response

James Ikubi
- 2,552
- 25
- 18