You are here: Helix Administrator > Security > Access Control > Access Rule Components

Access Rule Components

Helix Mobile Server uses rules to implement access control policy. Each access rule provides the following information:

Sorting Order—Order in which a rule is implemented. Helix Mobile Server implements access rules in order, from the first to the last. This is important to keep in mind when establishing the order in which you wish your rules to apply.

Access—Whether the client is allowed or denied access.

Client IP Address—Client's address, or a range of addresses. This can also be an encoder's IP address.

Server IP Address—Helix Mobile Server's address.

Ports—Port numbers on Helix Mobile Server to which access is allowed or denied. For general content viewing, these numbers correspond to the RTSP, HTTP, RTMP, and MMS ports. For encoders, these correspond to the port numbers in the broadcasting setup pages.

Predefined Access Rules

Helix Mobile Server predefines two access rules:

Allow localhost access—This rule permits access to Helix Mobile Server from an application running on the same computer. You should not edit this rule. This rule should always come first in the access control list.

Allow all other connections—This rule allows all clients to make any request on any port. Access is denied, though, if the content is secured, and the client does not supply a valid user name and password.

By default, the second rule allows all clients to make requests on all ports. Hence, access control checking is off. To turn access control on, you need to delete or modify the second rule, and implement new rules.

Access to Helix Administrator

When you implement access control, you may inadvertently lock yourself out of Helix Administrator by denying all client access to the Admin port. Therefore, if you decide to set up access control, the first rule to define should allow access to the Admin Port. This rule needs to come directly after the predefined Allow localhost access rule.

For more information: The section "Helix Administrator Access" explains how to create this rule.

Access Rule Methods

To use the access control feature, you must make decisions about the types of rules you will create. Then, you can create as many rules as you need. There are two general methods that you can use to restrict access to Helix Mobile Server:

specific address denial

In this method, you deny access to a specific group of IP addresses and ports, and allow access to everyone else. This is the better policy if you want to block a small number of clients, while allowing most clients to make requests.

specific address permission

This method is the opposite of the preceding. Here, you allow access to a specific group of IP addresses and ports, and deny access to everyone else. This is the better policy if you want to block a large number of clients, allowing only a small number of clients to make requests.

When you create a rule, you select a specific client IP address. Optionally, you can extend the addressing by choosing a bit mask, as described in the section "Address Space Bit Masks". You then select the ports for which that set of clients is allowed or denied access. You may need only one access rule. Or, you may want to set up several.

Rule Order

When you create multiple access rules, you set a rule order using the up and down arrow buttons on the rule list. Helix Mobile Server carries out rules in order from first to last. When a client connects, Helix Mobile Server evaluates the connection starting with the first rule on the list. As soon as it finds a rule that matches the player's address, it allows or denies access according to that rule.

Tip: When implementing an access control policy, make the rules at the top of the list more strict. Reserve lower positions for the more lenient rules.

IPv4 and IPv6 Access Rules

Helix Mobile Server supports access rule checking for both IPv4 and IPv6 addresses. If Helix Mobile Server runs on a machine that has both IPv4 and IPv6 addressing, you may need to create rules for both IPv4 addresses and IPv6 addresses:

Client connections using an IPv4 address are checked against IPv4-based rules.

Client connections using an IPv6 address mapped to an IPv4 address are checked against IPv4-based rules.

Client connections using an IPv6 address are checked against IPv6-based rules.

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com