# HttpFileServerHandler.IsPathContainedInRoot

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

## IsPathContainedInRoot(string) {#Sisk_Core_Http_FileSystem_HttpFileServerHandler_IsPathContainedInRoot_System_String_}

Determines whether the specified path resolves under the configured root directory.

```csharp
protected virtual bool IsPathContainedInRoot(string path)
```

### Parameters

`path` [string](https://learn.microsoft.com/dotnet/api/system.string)

### Returns

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