---
title: errSecCSFileHardQuarantined
framework: security
role: symbol
role_heading: Global Variable
path: security/errseccsfilehardquarantined
---

# errSecCSFileHardQuarantined

File open or execution not allowed.

## Declaration

```swift
var errSecCSFileHardQuarantined: OSStatus { get }
```

## Discussion

Discussion File has quarantine flags indicating that it should not be opened or executed under any circumstances. This usually occurs because the file was downloaded by a sandboxed application that does not have file download entitlements.
