An authorization policy may specify conditions that must be satisfied before, during or after the access right is exercised. Furthermore, evaluation of some conditions must be activated only if the authorization request is granted (or denied).
Thus, all conditions are classified as:
The mid-conditions that we consider in our framework are limited to a set of thresholds, such as duration of connection, CPU and memory usage and severity metrics (e.g., current system threat level).
Here are some examples of the policies with post-conditions:
``A user must pay $1 to read a file. The money must be withdrawn from the user account only after successful file access.''
In this policy, the payment condition must be implemented as a post-condition. If the file read fails for technical reasons (the server crashes in the middle of the read operation), the payment condition is not activated and the user does not lose his money.
``A user is allowed to access file 5#5 only once.''
Similarly, the quota condition in this policy must be implemented as a post-condition to ensure that the user can access the file at least once.
The post-conditions along with the request-result conditions are useful to fine tune audit and notification services.