Amazon DynamoDB · Types · Other public types
ArxPagingCookieProtection
Definition
- Namespace
ARX.SDK.Query- Package
ARX.SDK
public enum ArxPagingCookieProtectionHow 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= 0Encrypted and authenticated (AES-256-GCM): a client can neither read a cookie nor change it. The default.
Signed= 1Signed (HMAC-SHA256): a client can read a cookie's key values, but not change them.
Plain= 2Neither: 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
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:
- Protect paging cookiesRetrieveMultiple