4 ms·
Jsmysqldb – Use plain JavaScript on a static page to read MySQL databases
- smt88 6y agoThis is absolutely not a good idea. It's very easy to scrape someone's entire database or crash their server this way.
- JackChilds 6y agoThe whole idea is that you can only read from the JS. Prepared statements are used and other security measures are taken into place. Why don't you download it and try to crash a database on your own machine and see if it is easy?
- smt88 6y agoI don't think you understand browser security. If my browser can run semi-arbitrary queries, I can write malicious code that can do the same. You have no way to know whether your code is hitting your server or someone else's is.
- JackChilds 6y agoCould you look through the code, and on your own machine try to hack the system. If you succeed please open an issue on github
- deleted 6y ago[deleted]