MOSS 2007 & WSS Code (packaged in .wsp files) is supposed to run in full trust mode on the server SharePoint 2010 & SharePoint Foundation 2010 code (packaged in .wsp files) can run on the server in full trust mode, on the server in partial trust mode (sandbox , uploaded by a site collection administrator), [...]
Blog Post by: sergeluca