# webSecurityEnabled

> Indicates whether Unity's Web Player security model is enabled.

## Definition

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

> **Warning:**
>
> **Removed.** Application.webSecurityEnabled is no longer supported, since the Unity Web Player is no longer supported by Unity

```csharp
public static bool webSecurityEnabled { get; }
```

### Remarks

In the Web Player, this always return true. In the Unity Editor, it will return true if the web security emulation is enabled (Menu->Edit->Project Settings->Editor) and false if the emulation is disabled. On all other platforms, this returns false.

This property is read-only. You can use [EditorSettings.webSecurityEmulationEnabled](/engine/6000.7/script-reference/unityeditor/editorsettings/websecurityemulationenabled.md) to set this setting in the Editor environment.

**Note:** The Web Player is obsolete.
