mysql - Executing user-generated JavaScript from database -


i developing web application in django. vital application's core functionality taking user generated javascript , submitting through form mysql database. javascript code served webpages able see, performs calculations behind-the-scenes. know dangerous because of xss , perhaps other reasons, there way can safely? has ever done or seen work successfully?

also, important thing javascript needs math. maybe there's scripting language doesn't have of power of javascript can still run in browser? sanitize input making sure math language , nothing else.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -