Hacker News new | ask | show | jobs
by Xeoncross 3237 days ago
Use a proxy. Openresty (nginx+lua) or a Go app would do. Only allow whitelisted commands through like the basic control commands and then pass it on to your C code.
1 comments

yep, that would definitely be a good idea!