For domestic to domestic layovers, you normally won't have to go through security again during your layover. However, for all international layovers, you will normally have to go through security again, but this will depend on individual airport policy.