Hardening C Scripting