# withAnonymousAccess

- Module: [Aspire.Hosting.DevTunnels](/reference/api/typescript/aspire.hosting.devtunnels.md)
- Version: `13.4.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire)

Allows the tunnel to be publicly accessed without authentication.

## Definition

```typescript
interface DevTunnelResource {
  // ... omitted for brevity
  withAnonymousAccess(): DevTunnelResource
}
```

## Returns

[DevTunnelResource](/reference/api/typescript/aspire.hosting.devtunnels/devtunnelresource.md) `builder`

## Applies to

- [DevTunnelResource](/reference/api/typescript/aspire.hosting.devtunnels/devtunnelresource.md)
