Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebPart security

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.

like image 596
Bravax Avatar asked Dec 05 '25 15:12

Bravax


1 Answers

It depends if you are talking about the rendering of Web Parts or adding Web Parts from the Web Part gallery. Let me explain both scenarios:

1) In MOSS 2007, you can indeed use audiences to target the rendering of Web Parts on a given Web Part page. This is exactly what the Audience property on Web Parts is designed for. However, for WSS 3.0 deployments this is not possible as Audiences is a MOSS thing.

2) Hiding Web Parts in the Web Part gallery is also possible, i.e. in case you do not want all users with design permissions to be able to add any WP in the gallery. Use item permissions on the .dwp / .webpart files in the WP gallery to restrict access.

like image 85
Lars Fastrup Avatar answered Dec 08 '25 23:12

Lars Fastrup



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!