Perform the access check and reject access if needed.