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
0
u/reinaldo866 Jan 17 '20
Because the POST form will still be proccesed by the server side? so key logging is completely irrelevant in here why should I waste time by adding a complex onKeyDown event when I can just parse the "creditCard=1234123&code=777" string?, it's irrelevant