Specifies server settings for KAV HTTPD.
Path
ServerSettings
Attributes
This element has no attributes.
Nested elements
This element is a container for the following nested elements:
Example
The following is an example of a ServerSettings element.
<ServerSettings> <ConnectionString>/tmp/.kavhttpd</ConnectionString> <MaxIncomingConnectionsNum>100</MaxIncomingConnectionsNum> <MaxHTTPSessionsNum>50</MaxHTTPSessionsNum> <MaxTCPFileSize>100</MaxTCPFileSize> <SessionTimeout>1000</SessionTimeout> <Flags> < < <CORS> <AccessControlAllowOrigin>http://example.com</AccessControlAllowOrigin> <AccessControlAllowOrigin>https://www.kaspersky.com</AccessControlAllowOrigin> </CORS> <KeepAliveSettings> <Enabled>1</Enabled> <TimeoutMs>5000</TimeoutMs> <MaxRequests>1000</MaxRequests> </KeepAliveSettings> <AuthSettings> <UseAccessToken>0</UseAccessToken> <!--Enable or disable API-token authentication --> <AuthRequestField>Authorization</AuthRequestField> <UseBearerAuthScheme>1</UseBearerAuthScheme> <AccessTokens> <Token> <Name>Unlimited key</Name> <Value>SldYQTUyOUNVMnE3VWR2N3Izamk2QkVNc2hhLTV5dTBLcVUzeXZLdGYtNkkrVFUyQUVRQUNLQUFCSWdwRUlJTQ==</Value> <Description>Kaspersky Scan Engine Clients. Full access scope</Description> <Enabled>1</Enabled> </Token> <Token> <Name>Key for URL-scanning</Name> <Value>XUmCkYURUdWQldFGIT3TlEQUQQwkBy2LLNaNMVtrkSQUR2kSNUZV=NT2zLRzQJycVW5VNhUVOdLVcUd3YeVFnT=h</Value> <Description>Server access key. Only URL-scanning</Description> <Enabled>0</Enabled> </Token> </AccessTokens> </AuthSettings> </ServerSettings> |