What's new

Closed Is js code safe?

Status
Not open for further replies.

Heizengberg

Eternal Poster
Joined
Jul 12, 2017
Posts
597
Reaction
120
Points
282
sir may tatanong lang sana ako. pag nag inspect element kasi ako nakikita ko yung mga Javascript codes ko including ajax etc. safe ba yon? kung hindi ano pong best pratice? ibig sabihin ba wag na gumamit ng ajax sa database transactions?
 
Since ajax at request Lang ang case sa pic. Sanitize/validate yung username at pass. Icheck mo yung origin header at origin request or Generate CSRF tokens. The rest kasi sa proper coding na ng backend magrerely yung security. At Ibang case naman kung serverless js ang gamit.
 
Status
Not open for further replies.

Similar threads

Back
Top