R – WebPart security

sharepointsharepoint-2007web-parts

What is best practice to ensure only the correct users can see a webpart in Sharepoint 2007?

Security Groups, and Audiences have both been suggested to me.

Best Answer

Although audiences are not a security mechanism, for webpart visability the effect is the same. The issue with a webpart is others can add that webpart to another page that you are not controlling the audience for if you do not set the protection for the webpart in the gallery, as Lars mentioned. As he also mentioned, the audiences are only available if you are using MOSS and not just WSS.

An additional security step is to place the logic in the webpart to prevent unauthorized use. If it is truely a security concern, I would chose this approach.

Related Topic