🔒 Closed Is js code safe?

Status
Not open for further replies.

Heizengberg

Honorary Poster
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?
 
sample
 

Attachments

  • js.png
    js.png
    151.9 KB · Views: 0
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.

About this Thread

  • 5
    Replies
  • 1K
    Views
  • 3
    Participants
Last reply from:
mik0153

Trending Topics

Online now

Members online
1,072
Guests online
1,962
Total visitors
3,034

Forum statistics

Threads
2,286,629
Posts
29,039,130
Members
1,217,084
Latest member
mugiwarataro
Back
Top