Custom Cas with Wsp Builder

Jul 21, 2009 at 12:20 PM

Hi All,

I am using Wsp builder to deploy web part along with Custom cas.

Though there are no issues in deploying my custom cas using wsp builder, i noticed that in addition to my ipermissions it also add two more permissions namely:

<!-- Added by wsp builder starts-->

<IPermission version="1" Flags="SkipVerification" />
<IPermission class="Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" version="1" ObjectModel="True" />

<!-- Added by wsp builder ends-->

<!-- my cas ipermission starts-->

<IPermission version="1" Level="Minimal" />
<IPermission class="Microsoft.SharePoint.Security.SharePointPermission,Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" version="1" ObjectModel="True" Impersonate="True" UnsafeSaveOnGet="True" />
<IPermission class="System.Security.Permissions.RegistryPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Execution,SkipVerification" />
<IPermission version="1" Read="$AppDirUrl$" Unrestricted="true" Write="$AppDirUrl$" Append="$AppDirUrl$" PathDiscovery="$AppDirUrl$" />

<!-- my cas ipermission ends-->

Any ideas as to why wsp builder is adding these additional entries?.

Thanks,
Faiz