<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEURLFilter/verdict(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Network Extension",
      "NetworkExtension"
    ],
    "preciseIdentifier" : "s:So11NEURLFilterC16NetworkExtensionE7verdict3forSo0A7VerdictV10Foundation3URLV_tYaFZ"
  },
  "title" : "verdict(for:)"
}
-->

# verdict(for:)

Determines if accessing the specified URL is allowed or denied.

```
class func verdict(for url: URL) async -> NEURLFilter.Verdict
```

## Parameters

`url`

The URL to be validated.

## Return Value

A [`NEURLFilter.Verdict`](/documentation/NetworkExtension/NEURLFilter/Verdict) that indicates whether the filter allows or denies connecting to the URL. If the verdict is deny, the caller should fail the URL request.

## Discussion

Callers should honor the return verdict to prevent communication with restricted or malicious sites.

---

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)