# InsecureHttpOption

> Options for allowing plain text HTTP connections for UnityWebRequest.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum InsecureHttpOption
```

## Remarks

Plain text HTTP connections are not secure, and can make your application vulnerable to security threats. By default, [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) uses secure HTTPS connections instead.

Use this enum to configure when [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) is allowed to use HTTP plain text connections.

## Fields

| Value                                                                                                | Description                                                                                                                                                       |
| ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [AlwaysAllowed](/engine/6000.0/script-reference/unityeditor/insecurehttpoption/alwaysallowed.md)     | Allow [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) to use plain text HTTP connections at all times.               |
| [DevelopmentOnly](/engine/6000.0/script-reference/unityeditor/insecurehttpoption/developmentonly.md) | Allow [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) to use plain text HTTP connections in development builds only. |
| [NotAllowed](/engine/6000.0/script-reference/unityeditor/insecurehttpoption/notallowed.md)           | Do not allow [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) to use plain text HTTP connections.                     |
