Specialized Administration > Ensuring Data Security > Security Labels and Agreements > Configuring Security Labels > Security Label Configuration Steps > Step 15. Hide Security Labels on Certain Objects - Optional
  
Step 15. Hide Security Labels on Certain Objects - Optional
If you do not want security labels to be set on certain types of objects, you can hide the security labels functionality from being displayed in certain areas for those object types. Security labels can be hidden in the Edit Security Labels, Subscribe, and agreement authorized object search windows. To ensure that there are no default security labels applied to the object type, remove all security label object initialization rules for the object type in addition to completing the following procedure.
* 
Do this before the security label enabled system is made available to your users.
To hide the Edit Security Labels action and remove the ability to associate the object type as an authorized object:
1. Navigate to the following source file:
<Windchill>/conf/exposedSecurityLabelObjects.xml
where <Windchill> is the installed location of your Windchill solution.
2. Copy the exposedSecurityLabelObjects.xml file to the following locations:
<Windchill>/wtSafeArea/ptcOrig/conf/exposedSecurityLabelObjects.xml
and
<Windchill>/wtSafeArea/siteMod/conf/exposedSecurityLabelObjects.xml
3. Open the <Windchill>/wtSafeArea/siteMod/conf/exposedSecurityLabelObjects.xml file in a text editor.
4. Add comment characters around the entry for the object type for which you want to hide security labels. For example,
<object name="wt.doc.WTDocument"/>
becomes
<!--object name="wt.doc.WTDocument"/-->
5. Save and close.
To hide the Modify Security Labels event for selected types in the Subscribe window:
* 
Only complete these steps if you enabled security labels for subscription in Enable Modify Security Label Event for Subscription.
1. Navigate to the following file:
<Windchill>/wtSafeArea/siteMod/codebase/wt/notify/subscriptionConfig.xml
where <Windchill> is the installed location of your Windchill solution.
2. Open the subscriptionConfig.xml file in a text editor.
3. Under the <category name = "EDIT_SECURITY_LABELS"> element, add comment characters around the object type entry for which you want to hide security labels. For example,
<override type ="wt.doc.WTDocument"/>
becomes
<!--override type ="wt.doc.WTDocument"/-->
4. Save and close.
To remove the object type from the list of authorized object types in an agreement:
* 
Only complete these steps if you enabled agreements.
1. Navigate to the following source file:
<Windchill>/wtSafeArea/siteMod/codebase/com/ptc/
core/agreements/agreements-SearchableTypes.properties.xconf
where <Windchill> is the installed location of your Windchill solution.
2. Open the agreements-SearchableTypes.properties.xconf file in a text editor.
3. In each category that applies to your installation, remove the object type entry for which you want to hide security labels from the comma-delimited list.
For example, the following property has the object type wt.doc.WTDocument:
<Property name="Foundation.AgreementAuthObjectPickerFoundation" multivalued=","
default="wt.epm.EPMDocument,wt.change2.WTAnalysisActivity,
wt.change2.WTChangeActivity2,wt.change2.WTChangeInvestigation,
wt.change2.WTChangeIssue,wt.change2.WTChangeOrder2,wt.change2.WTChangeProposal,
wt.change2.WTChangeRequest2,wt.change2.WTVariance,wt.maturity.PromotionNotice,
wt.doc.WTDocument,wt.part.WTPart,wt.vc.baseline.ManagedBaseline,
wt.meeting.MeetingCenterMeeting,wt.meeting.TraditionalMeeting,
wt.viewmarkup.WTMarkUp,wt.viewmarkup.DerivedImage,
wt.annotation.StructuredAnnotationSet,wt.part.WTProductConfiguration,
wt.part.WTProductInstance2,com.ptc.windchill.wp.AbstractWorkPackage,
com.ptc.windchill.wp.delivery.DeliveryRecord"/>
Edit the property element to remove the wt.doc.WTDocument reference. The result will be:
<Property name="Foundation.AgreementAuthObjectPickerFoundation" multivalued=","
default="wt.epm.EPMDocument,wt.change2.WTAnalysisActivity,
wt.change2.WTChangeActivity2,wt.change2.WTChangeInvestigation,
wt.change2.WTChangeIssue,wt.change2.WTChangeOrder2,wt.change2.WTChangeProposal,
wt.change2.WTChangeRequest2,wt.change2.WTVariance,wt.maturity.PromotionNotice,
wt.part.WTPart,wt.vc.baseline.ManagedBaseline,wt.meeting.MeetingCenterMeeting,
wt.meeting.TraditionalMeeting,wt.viewmarkup.WTMarkUp,wt.viewmarkup.DerivedImage,
wt.annotation.StructuredAnnotationSet,wt.part.WTProductConfiguration,
wt.part.WTProductInstance2,com.ptc.windchill.wp.AbstractWorkPackage,
com.ptc.windchill.wp.delivery.DeliveryRecord"/>
4. Save and close.