A Comprehensive Guide to Preventing Supply Chain Attacks