Improved controller security