Is it possible to sandbox and run C++ or C# code that's entered in a textfield in a browser? -
i'm diving web development after ten years of desktop development , i'm experimenting testing concepts. wondering if it's possible sandbox , run c++ code that's entered in textfield in browser? that, mean run c++ or c# code on backend webserver , return analysis of code. clear, don't mean run c++ or c# code that's intended generate kind of markup, blackbox test c++ or c# block of code that's entered.
- how invoke compiler, depending on web server you're using?
- how sandbox code prevent malicious behavior? if we're considering 1 of c variants, blacklisting/whitelisting specific functions , libraries prevent malicious behavior? or blacklist long , limiting allow fair amount of code run?
these high-level questions i'm asking because i'm having hard time finding direction, i'm going continue researching them right now. in advance help!
you might find the codepad page interesting.
Comments
Post a Comment