Server-side code generation (for security purposes)