<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="AddAndCustomizePages"> You can place any text or HTMl in this section. Only users having the AddAndCustomizePages permission will see this. </SharePoint:SPSecurityTrimmedControl>
<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="AddAndCustomizePages">
You can place any text or HTMl in this section. Only users having the AddAndCustomizePages permission will see this.
</SharePoint:SPSecurityTrimmedControl>
If you need to, you can even create your own Security Trimmer as shown here.http://msdn2.microsoft.com/en-us/library/aa981236.aspx
Another method worth noting is the RightsSensitiveVisibilityHelper.UserHasRights method.https://msdn2.microsoft.com/en-us/library/ms465624.aspx
References: