# HttpFileServerHandler.AllowIndex

Kind: Property  
Namespace: `Sisk.Core.Http.FileSystem`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.FileSystem.HttpFileServerHandler.AllowIndex.html

## AllowIndex {#Sisk_Core_Http_FileSystem_HttpFileServerHandler_AllowIndex}

Gets or sets a value indicating whether an `index.html` file is automatically served when a directory is requested.

```csharp
public bool AllowIndex { get; set; }
```

### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
