User, group, and default configurations
This collection of commands configures settings for transfer authorization, bandwidth, and encryption. These settings can apply to particular users, users in particular groups, or globally to all users.
General syntax
The syntax of set commands for users, groups, and global settings are:
# asconfigurator -x "set_user_data;user_name,username;parameter,value"
# asconfigurator -x "set_group_data;group_name,groupname;parameter,value"
# asconfigurator -x "set_node_data;parameter,value"
Setting or getting user or group data requires you to specify the username or group name as the first parameter of the asconfigurator command.
Note: Not all available parameters are listed, only the most commonly used. To view a complete list, run the following command:
# asuserdata -+
Transfer authorizations
- absolute
- The docroot path of a user.
- authorization_transfer_in_value
- Incoming transfer authorization. The token only value allows transfers that are initiated with valid tokens.
- authorization_transfer_out_value
- Outgoing transfer authorization. The token only value allows transfers that are initiated with valid tokens.
- authorization_transfer_in_external_provider_url
- The URL of the external authorization provider for incoming transfers.
- authorization_transfer_out_external_provider_url
- The URL of the external authorization provider for outgoing transfers.
- authorization_transfer_in_external_provider_soap_action
- The SOAP action required by the external authorization provider for incoming transfers.
- authorization_transfer_out_external_provider_soap_action
- The SOAP action required by the external authorization provider for outgoing transfers.
- token_encryption_type
- The cipher used to generate encrypted authorization tokens.
- token_encryption_key
- The secret passphrase used to generate encrypted authorization tokens. Use instead of token_encryption_keyfile.
- token_life_seconds
- The length of time a token is valid in seconds. The default value is 86400 seconds (24 hours).
Transfer bandwidth policies
- transfer_in_bandwidth_aggregate_trunk_id
- The ID of the Vlink to apply to incoming transfers. A value of 0 disables the Vlink.
- transfer_out_bandwidth_aggregate_trunk_id
- The ID of the Vlink to apply to outgoing transfers. A value of 0 disables the Vlink.
- transfer_in_bandwidth_flow_target_rate_cap
- The maximum value to which the target rate for incoming transfers can be set.
- transfer_out_bandwidth_flow_target_rate_cap
- The maximum value to which the target rate for outgoing transfers can be set (in Kbps).
- transfer_in_bandwidth_flow_target_rate_default
- The default value to which the target rate for incoming transfers is set (in Kbps).
- transfer_out_bandwidth_flow_target_rate_default
- The default value to which the target rate for outgoing transfers is set (in Kbps).
- transfer_in_bandwidth_flow_target_rate_lock
- A value of false allows users to adjust the transfer rate for incoming transfers. A value of true prevents users from adjusting the transfer rate for incoming transfers.
- transfer_out_bandwidth_flow_target_rate_lock
- A value of false allows users to adjust the transfer rate for outgoing transfers. A value of true prevents users from adjusting the transfer rate for outgoing transfers.
- transfer_in_bandwidth_flow_min_rate_cap
- The maximum value to which the minimum rate for incoming transfers can be set (in Kbps). Transfers cannot go slower than the minimum rate.
- transfer_out_bandwidth_flow_min_rate_cap
- The maximum value to which the minimum rate for outgoing transfers can be set (in Kbps). Transfers cannot go slower than the minimum rate.
- transfer_in_bandwidth_flow_min_rate_default
- The default value to which the minimum rate for incoming transfers is set (in Kbps). Transfers cannot go slower than the minimum rate.
- transfer_out_bandwidth_flow_min_rate_default
- The default value to which the minimum rate for outgoing transfers is set (in Kbps). Transfers cannot go slower than the minimum rate.
- transfer_in_bandwidth_flow_min_rate_lock
- A value of false allows users to adjust the minimum rate for incoming transfers. A value of true prevents users from adjusting the minimum rate for incoming transfers.
- transfer_out_bandwidth_flow_min_rate_lock
- A value of false allows users to adjust the minimum rate for outgoing transfers. A value of true prevents users from adjusting the minimum rate for outgoing transfers.
- transfer_in_bandwidth_flow_policy_default
- The default bandwidth policy for incoming transfers. The bandwidth policy determines how transfers adjust their rates according to network conditions.
- transfer_out_bandwidth_flow_policy_default
- The default bandwidth policy for outgoing transfers. The bandwidth policy determines how transfers adjust their rates according to network conditions.
- transfer_in_bandwidth_flow_policy_lock
- A value of false allows users to adjust the bandwidth policy for incoming transfers. A value of true prevents users from adjusting the bandwidth policy for incoming transfers.
- transfer_out_bandwidth_flow_policy_lock
- A value of false allows users to adjust the bandwidth policy for outgoing transfers. A value of true prevents users from adjusting the bandwidth policy for outgoing transfers.
- transfer_in_bandwidth_flow_policy_allowed
- The allowed bandwidth policies for incoming transfers. The chosen value and any policy less aggressive are allowed. In order from most to least aggressive the policies are fixed, high, fair, and low.
- transfer_out_bandwidth_flow_policy_allowed
- The allowed bandwidth policies for outgoing transfers. The chosen value and any policy less aggressive is allowed. In order from most to least aggressive the policies are fixed, high, fair, and low.
Transfer encryption
- transfer_encryption_allowed_cipher
- The type of transfer encryption accepted. When set to
anyboth encrypted and unencrypted transfers are allowed. - transfer_encryption_fips_mode
- Whether transfers must be encrypted with a FIPS 140-2 certified encryption module.
- content_protection_required
- Whether transferred content must be left encrypted at the destination.
- content_protection_strong_pass_required
- Whether a strong passphrase is required for content protection (6 characters long, at least one letter, number, and special symbol).
Transfer file system options
- resume_suffix
- The extension of files used to store metadata and enable resumption of partially completed transfers. Include a '.' in the suffix, such as: .aspera
- preserve_attributes
- The file creation policy. When set to
nonethe timestamps of source files are not preserved. When set totimesthe timestamps of source files are preserved at the destination. - overwrite
- Whether Aspera® clients are allowed to overwrite existing files on the server.
- file_manifest
- A file manifest is a file that contains a list of everything that is transferred in a transfer session. When set to
textfile manifests are generated. - file_manifest_path
- The location (path) where file manifests are created.
- pre_calculate_job_size
- The policy of calculating total job size before a transfer. If set to
any, the client configuration is followed. If set tono, job size calculation is disabled before the transfer. - replace_illegal_chars
- Convert specific characters in filepaths before transmission. For example, this converts all instances of the characters that follow the colon to underscores:
<replace_illegal_chars>_*:|<>"'?</replace_illegal_chars> - file_filters
- Exclude and include files or directories with the specified pattern in the transfer. Each entry starts with a separator, preferably "
|". Add multiple entries for more inclusion and exclusion patterns. To specify an exclusion, add '-' (-and white space) at the beginning of the pattern, such as|- *2016*. To specify an inclusion, add '+' (+and white space) at the beginning of the pattern, such as|+ *.jpg.Two symbols can be used in the setting of patterns:
*(Asterisk) Represents zero to many characters in a string, for example,*.tmpmatches.tmpandabcde.tmp.?(Question Mark) Represents one character, for example,t?pmatchestmpbut nottemp.Specify multiple filters as a delimited list:
|+ *.jpg|- 2016*. - partial_file_suffix
- Extension to be added to the names of files that are currently only partially transferred. Include a '
.' in the suffix, such as: .aspera - file_checksum
- Type of checksum to compute while reading a file. Checksums are used to verify that file contents on the destination match what was read on the destination.
- async_enabled
- Whether async is enabled on the server.
- async_connection_timeout
- The time period async waits to establish a connection, in seconds.
- async_session_timeout
- The time period async waits for an unresponsive session, in seconds.
Document root options
- absolute
- The absolute path of the document root (docroot), which is the area of the file system that is accessible by Aspera users.
- read_allowed
- Whether users are allowed to transfer files from the docroot (in other words, download from the docroot).
- write_allowed
- Whether users are allowed to transfer files to the docroot (in other words, upload to the docroot).
- dir_allowed
- Whether users are allowed to browse files in the docroot.
- file_restriction
- Restrict the files that are allowed for transfers. Restrictions are set as wildcard templates. The first character is a separator (preferably a "
|") which can be used to set multiple restrictions. Restrictions are processed in order and according to the following rules:- If a restriction starts with a "
!", any files that match the rest of the wildcard template are rejected. - If a restriction does not start with a "
!", then any file that matches is allowed. - Any other files are rejected.
|/home/aspera/*|home/janedoe/* - If a restriction starts with a "