<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/AccessCheckHandler",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:objc(pl)FSVolumeAccessCheckHandler"
  },
  "title" : "FSVolume.AccessCheckHandler"
}
-->

# FSVolume.AccessCheckHandler

Methods and properties implemented by volumes that want to enforce access check operations.

```
protocol AccessCheckHandler : NSObjectProtocol
```

## Overview> Important: This protocol replaces the ``doc://FSKit/documentation/FSKit/FSVolume/AccessCheckOperations`` protocol. It exposes the same functionality, while using the ``doc://FSKit/documentation/FSKit/FSCheckAccessResult`` object, to align with all other `Handler` protocols.

## Topics

### Checking access

[`func checkAccess(to: FSItem, requestedAccess: FSVolume.AccessMask, context: FSContext, replyHandler: (FSCheckAccessResult?, (any Error)?) -> Void)`](/documentation/FSKit/FSVolume/AccessCheckHandler/checkAccess(to:requestedAccess:context:replyHandler:))

Checks whether the file system allows access to the given item.

[`struct AccessMask`](/documentation/FSKit/FSVolume/AccessMask)

A bitmask of access rights.

[`class FSCheckAccessResult`](/documentation/FSKit/FSCheckAccessResult)

The result of a check-access call.

### Inspecting volume properties

[`var isAccessCheckInhibited: Bool`](/documentation/FSKit/FSVolume/AccessCheckHandler/isAccessCheckInhibited)

A Boolean value that instructs FSKit not to call this protocol’s methods, even if the volume conforms to it.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)