Maurice has 2 good postings about FXCop and WebParts discussing a number of Code Access Security topics that are important for WebPart developers.