| ▲ | dns_snek 6 hours ago | |||||||||||||||||||||||||
The amount of javascript is really beside the point here. The problem is that privileged users can easily edit the code without strong 2FA, allowing automatic propagation. | ||||||||||||||||||||||||||
| ▲ | shevy-java 6 hours ago | parent | next [-] | |||||||||||||||||||||||||
How does 2FA prevent this here? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | j45 4 hours ago | parent | prev [-] | |||||||||||||||||||||||||
It's not, application logic exposed on the client side is always an attack vector for figuring out how it works and how attack vectors could be devised. It's simply a calculated risk. How much business and application logic you put in your Javascript is critical. On your second unrelated comment about Wikipedia needing to use 2FA, there's probably a better way to do it and I hope mediawiki can do it. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||