I’d like to create a Web Part with security-trimmed links for a MOSS Publishing Intranet Portal. The idea is that their logged-in user name is checked against a custom provider to determine their permissions for a particular link and the hyperlinks would be rendered based on this.
What would be a good approach for something like this? In particular, is it possible to inherit from the “Summary Links” Web Part to achieve this functionality?
The solution to this was to create a custom xml file with an attribute indicating if roles were applied or not for a particular application link – and if so, another attribute containing the role name. The code would then check the custom membership store using the logged-in users network identity for authorization checking.