MacroSecurityProcessor Class |
Namespace: CMS.MacroEngine
public static class MacroSecurityProcessor
The MacroSecurityProcessor type exposes the following members.
Name | Description | |
---|---|---|
RegExpComplexMacro |
Defines a regular expression that detects a complex macro (in case it is matched)
|
Name | Description | |
---|---|---|
AddMacroSecurityParams |
Adds |(hash) and |(user) security parameters to given expression.
| |
AddSecurityParameters |
Adds security parameters to every macro.
| |
CheckMacroIntegrity |
Checks the integrity against given user.
| |
CheckSecurity |
Checks the security of the accessed object.
| |
IsSimpleMacro |
Returns true if the macro is simple and does not need signing.
| |
RefreshSecurityParameters(DataSet, MacroIdentityOption) |
Recreates all the macros signatures according to new specified salt in all string columns of each row of the given DataSet (modifies the DataSet).
Keeps the owners of the macros untouched (verifies the integrity against old salt).
| |
RefreshSecurityParameters(BaseInfo, MacroIdentityOption, Boolean, String) |
Loops through all text columns of given info and signs ALL macros (even already signed) with specified identity option.
| |
RefreshSecurityParameters(BaseInfo, String, String, Boolean) |
Loops through all text columns of given info and recreates all the macros signatures according to new specified salt.
Keeps the owners of the macros untouched (verifies the integrity against old salt).
| |
RemoveMacroSecurityParams(String, MacroIdentityOption) |
Removes |(hash) and |(user) or |(identity) security parameters from given expression.
| |
RemoveMacroSecurityParams(String, MacroIdentityOption, String) |
Removes |(hash) and |(user) or |(identity) security parameters from given expression.
| |
RemoveSecurityParameters(String, Boolean, IDictionaryString, MacroIdentityOption) |
Removes security parameters from all macros.
| |
RemoveSecurityParameters(String, Boolean, IDictionaryString, MacroIdentityOption, Boolean) |
Removes security parameters from all macros.
| |
RemoveSecurityParametersAndAnonymize |
Marks all macros int the text as anonymous.
|
Name | Description | |
---|---|---|
OnCheckObjectPermissions |
Event which is called whenever the security check on object is requested. It's called after the standard check is processed and the result can be overriden with this handler.
|