# insecureHttpOption

> The option that controls when UnityWebRequest can use plain text HTTP connections.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static InsecureHttpOption insecureHttpOption { get; set; }
```

### Remarks

The default value is [InsecureHttpOption.NotAllowed](/engine/6000.7/script-reference/unityeditor/insecurehttpoption/notallowed.md), because plain text HTTP connections are not secure and can make your application vulnerable to security threats.

This property corresponds to **Allow downloads over HTTP** in the **Configuration** group of **Other Settings** in the Player settings, and applies to every platform in the project. Unity applies the value that the project has when you build the player.

For more information about the available options, refer to [InsecureHttpOption](/engine/6000.7/script-reference/unityeditor/insecurehttpoption.md).

Additional Resources: [InsecureHttpOption](/engine/6000.7/script-reference/unityeditor/insecurehttpoption.md), [Player settings](/engine/6000.7/manual/unity-editor/editor-settings-reference/comp-manager-group/class-player-settings.md).
