What is the difference between PageParserPath and SafeControl in the case of site pages?
Is both for allowing server side code for site pages?
PageParserPath
<PageParserPaths>
<PageParserPath VirtualPath="/_mpg/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true"/>
</PageParserPaths>
SafeControl
<Assemblies>
<Assembly Location="SampleToDeployAPage.dll"
DeploymentTarget="GlobalAssemblyCache">
<SafeControls>
<SafeControl
Assembly="$SharePoint.Project.AssemblyFullName$"
Namespace="SampleToDeployAPage"
TypeName="MyPageTemplate" Safe="True"/>
</SafeControls>
</Assembly>
</Assemblies>