The best way to ensure safety is to involve the security related assessments, audits, and various types of testing, right from the first phase of system development. The level and form of processes used in security testing of any system varies depending upon its phase, condition, and type.