title: Hiding site actions menu in moss depending on page
body: <p>I am trying to hide the site actions menu from certain pages with our moss enviroment, specifically non-publishing pages.</p>
  
  <p>I was looking to use the SPSecurityTrimmedControl to achieve it, so in my masterpage I have:</p>
  
  <pre><code>&lt;Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="ApproveItems"&gt;
  &lt;PublishingSiteAction:SiteActionMenu runat="server"/&gt;
  &lt;/SharePoint:SPSecurityTrimmedControl&gt;
  </code></pre>
  
  <p>but it seems that this is role based only and not page based. Can anyone suggest an alternative?</p>