Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Security issues in ajax call

When calling the AJAX call, the call request and response can see on console by using the firebug. This is major security issue. How can we hide the response(data) from the console?

Is there any option?

like image 946
ıllıllı lק ıllıllı Avatar asked Nov 19 '25 04:11

ıllıllı lק ıllıllı


1 Answers

The fact that the data is arrived in the client means client has the authority to read and do whatever it wants with it. Now if that data is a security risk, then it should never be sent to the client in the first place.

If you are worried that someone other than the client might see it then use HTTPS.

If you are worried that people can see it in the firebug, well then that data is not supposed to be seen by client. Hiding firebug is only making it harder, not impossible. You may always use Fiddler to see HTTP content or even wireshark to see the packets.

like image 136
Aliostad Avatar answered Nov 21 '25 16:11

Aliostad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!