you dont need to do that. Pitbulls are very smart and will know when they need to be agressive. pitbulls are better taught not to bite persons outside your home. This can be achieved by walking him since puppy around the neighborhood socialising with children and other persons.
once you get that, agresivness come to them naturaly when needed. they are very smart.