Dropping security objects
Use the DROP SECURITY statement to remove a security label component, a security policy, or a security label from the database.
Before you begin
About this task
Procedure
- DROP SECURITY POLICY policy removes
a security policy; this can be used in RESTRICT and CASCADE modes
- Example:
DROP SECURITY POLICY company
removes the policy namedcompany
from the database
- Example:
- DROP SECURITY LABEL policy.label removes
a security label; this can be used in RESTRICT mode
- Example:
DROP SECURITY LABEL company.label2
removes the label namedlabel2
.
- Example:
- DROP SECURITY LABEL COMPONENT component removes
a security label component; this can be use in RESTRICT mode
- Example:
DROP SECURITY LABEL COMPONENT department
removes the componentdepartment
.
For more information about the DROP SECURITY statement, including details about the RESTRICT and CASCADE modes, see Informix® Guide to SQL: Syntax. - Example:
Results
What to do next
- sysecpolicies for security policies
- sysseclabels for security labels
- sysseclabelcomponents for security label components