{'fraction_non_alphanumeric': 0.02564102564102564, 'fraction_numerical': 0.0, 'mean_word_length': 5.0476190476190474, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Patterns for content-dependent and context-enhanced authorization

We have written patterns for authorization that define access at the item (resource, data) level. However, in many cases we need to have a further level of granularity. For that purpose, we present here a pattern for Content-dependent authorization that controls access at the data value level. In some cases we need to return values with additional contextual information and for that we describe a Context-enhanced access control pattern.