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
1
u/Freakei Jan 30 '20
I partially disagree, a lot of devs use 3rd party CSS frameworks (like Bootstrap) where they can’t be 100% sure that no malicious CSS is container.
The app itself logging is not a problem, you are right, but technically it‘s the same with 100% self-made JS.