Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingSecurityBase
ContentStudio.Site.ActiveScripting.SecurityIPAddressAccessRestrictions
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
To use this class, create an instance of this object, set up the
properties, and call the Invoke method with an appropriate set
of parameters.
This class can throw exceptions, thus your code should be wrapped
within try/catch statements in order to avoid the entire page to crash.
[This is preliminary documentation and is subject to change.]
Redirects the caller to another page depending on the IP-address of the
client. Up to 15 IP addresses can be defined.
The IPAddressAccessRestrictions class acts as the underlying
engine for the IP address access restrictions AS component.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingSecurityBase
ContentStudio.Site.ActiveScripting.SecurityIPAddressAccessRestrictions
Namespace: ContentStudio.Site.ActiveScripting.Security
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The IPAddressAccessRestrictions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
IPAddressAccessRestrictions |
Constructs a new instance of the IPAddressAccessRestrictionsDev
class.
|
Properties
Name | Description | |
---|---|---|
BackwardsComponentCompatibilityMode |
Sets or gets a value that indicates whether the code runs in backwards
compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.) | |
ComponentName | Gets the name of the component (Overrides ActiveScriptingBaseComponentName.) | |
Conformance |
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.) | |
DenyID |
Sets or gets the ID of the page to show if access is denied. The
default value is an empty string.
| |
DenyPTID |
Sets or gets the ID of the presentation template to use with the DenyID
page. The default value is an empty string.
| |
ElementType |
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.) | |
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) | |
GrantID |
Sets or gets the ID of the page to show if access is granted. The
default value is an empty string.
| |
GrantIPAddresses |
Sets or gets a value indicting if the supplied IP addresses should be
granted access. The default value is true.
If it is set to false, the supplied IP addresses are denied
access.
| |
GrantPTID |
Sets or gets the ID of the presentation template to use with the GrantID
page. The default value is an empty string.
| |
IPAddress1 |
Sets or gets the value of IP address 1. The default value is an empty
string.
| |
IPAddress10 |
Sets or gets the value of IP address 10. The default value is an empty
string.
| |
IPAddress11 |
Sets or gets the value of IP address 11. The default value is an empty
string.
| |
IPAddress12 |
Sets or gets the value of IP address 12. The default value is an empty
string.
| |
IPAddress13 |
Sets or gets the value of IP address 13. The default value is an empty
string.
| |
IPAddress14 |
Sets or gets the value of IP address 14. The default value is an empty
string.
| |
IPAddress15 |
Sets or gets the value of IP address 15. The default value is an empty
string.
| |
IPAddress2 |
Sets or gets the value of IP address 2. The default value is an empty
string.
| |
IPAddress3 |
Sets or gets the value of IP address 3. The default value is an empty
string.
| |
IPAddress4 |
Sets or gets the value of IP address 4. The default value is an empty
string.
| |
IPAddress5 |
Sets or gets the value of IP address5. The default value is an empty
string.
| |
IPAddress6 |
Sets or gets the value of IP address 6. The default value is an empty
string.
| |
IPAddress7 |
Sets or gets the value of IP address 7. The default value is an empty
string.
| |
IPAddress8 |
Sets or gets the value of IP address 8. The default value is an empty
string. .
| |
IPAddress9 |
Sets or gets the value of IP address 9. The default value is an empty
string.
|
Methods
Name | Description | |
---|---|---|
AccessCheckForCurrentCategory |
Determines if access us granted to the current category for
the calling user.
(Inherited from SecurityBase.) | |
AccessCheckForCurrentDocument |
Determines if access us granted to the current document for
the calling user.
(Inherited from SecurityBase.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke |
Invokes the component.
| |
ToString | (Inherited from Object.) |
Remarks
See Also