r/shittyprogramming • u/mikaey00 • Jan 16 '20
JavaScript: it's a security risk
Overheard on a call one of my colleagues just got off of:
Colleague: "So why aren't you able to add our JavaScript to your checkout page?"
Client: "Oh, we disable JavaScript on our entire checkout page."
Colleague: "...why?"
Client: "It's a security risk."
Colleague: <head explodes>
136
Upvotes
View all comments
Show parent comment
2
u/Earhacker Jan 17 '20
If you’re using HTTPS, that POST request is encrypted and tough for bad actors to intercept. If you’re not using HTTPS, modern browsers will probably warn your users not to enter sensitive data into your forms.