SQL structure rebuilder: preventing SQL injection attacks