Amazon DynamoDB · Types · Other public types

ArxPagingCookieProtection

Definition

Namespace
ARX.SDK.Query
Package
ARX.SDK
C#
public enum ArxPagingCookieProtection

How a provider protects its paging cookies. A cookie carries the last item's key values, which can be an email or a tenant id, so the default seals it.

Values

Sealed= 0

Encrypted and authenticated (AES-256-GCM): a client can neither read a cookie nor change it. The default.

Signed= 1

Signed (HMAC-SHA256): a client can read a cookie's key values, but not change them.

Plain= 2

Neither: a client can read and change a cookie. ARX still checks the provider and the query it belongs to, and the query's filter applies to every page, so an edited cookie can't reach other records; it can only move within them.

Usage

C#

A line from a verified sample; the full, runnable code is on its page.

var service = new ArxDynamoDbService(client, model, SampleModel.Catalog()) { PagingCookieProtection = ArxPagingCookieProtection.Plain };

Protect paging cookies, scenario 3

Used in: