SecurityCapability
Identifies a specific permission capability that a sandboxed script container may grant or restrict.
Items 53
| History | Name | Value | Description | |
|---|---|---|---|---|
| 635 | RunClientScript | 0 | Indicates that a script container is permitted to execute scripts on the client (LocalScript). | |
| 635 | RunServerScript | 1 | Indicates that a script container is permitted to execute scripts on the server (Script). | |
| 635 | AccessOutsideWrite | 2 | Grants a script read-write access to instances that live outside its sandboxed container. | |
| 720 | AssetRequire | 3 | Deprecated. Use SecurityCapability.LoadUnownedAsset instead. | |
| 720 | LoadString | 4 | Allows a script to use the | |
| 720 | ScriptGlobals | 5 | Allows a script to access the | |
| 720 | CreateInstances | 6 | Allows a script to create new | |
| 720 | Basic | 7 | Guards access to a broad set of general-purpose engine APIs that do not belong to a more specific capability category. | |
| 720 | Audio | 8 | Guards access to audio engine APIs such as Sound, AudioPlayer, and related classes. | |
| 720 | DataStore | 9 | Guards access to data store APIs such as DataStoreService and its associated objects. | |
| 720 | Network | 10 | Guards access to low-level networking APIs such as HttpService. | |
| 720 | Physics | 11 | Guards access to physics engine APIs such as Constraint classes and BasePart physics properties. | |
| 720 | UI | 12 | Guards access to UI engine APIs such as ScreenGui, Frame, and other GuiObject classes. | |
| 720 | CSG | 13 | Guards access to Constructive Solid Geometry (CSG) APIs such as UnionOperation and NegateOperation. | |
| 720 | Chat | 14 | Guards access to chat engine APIs such as TextChatService and related chat classes. | |
| 720 | Animation | 15 | Guards access to animation engine APIs such as AnimationController and related classes. | |
| 720 | Avatar | 16 | Deprecated. Use SecurityCapability.AvatarAppearance instead. | |
| 720 | Input | 17 | Guards access to user input APIs such as UserInputService and ContextActionService. | |
| 720 | Environment | 18 | Guards access to environment and world-setting APIs such as Lighting and Atmosphere. | |
| 720 | RemoteEvent | 19 | Guards access to remote event and function APIs such as RemoteEvent and RemoteFunction. | |
| 720 | LegacySound | 20 | Guards access to the legacy Sound and pre-VoiceChatService.UseAudioApi sound stack APIs. | |
| 720 | Players | 21 | Guards access to Players service APIs that query or manage connected players. | |
| 720 | CapabilityControl | 22 | Guards access to the | |
| 720 | Plugin | 23 | Mirrors the legacy | |
| 720 | LocalUser | 24 | Mirrors the legacy | |
| 720 | WritePlayer | 25 | Mirrors the legacy | |
| 720 | RobloxScript | 26 | Mirrors the legacy | |
| 720 | RobloxEngine | 27 | Mirrors the legacy | |
| 720 | Unassigned | 28 | The default capability assigned to API members that have not been explicitly assigned to any other capability category. | |
| 720 | InternalTest | 29 | Restricts access to non-sensitive APIs that are intentionally kept internal. | |
| 720 | PluginOrOpenCloud | 30 | Restricts access to APIs callable only from Studio plugin or Open Cloud Luau execution sessions. | |
| 720 | Assistant | 31 | Restricts access to APIs that may only be called from Studio Assistant execution contexts. | |
| 720 | RemoteCommand | 32 | Restricts access to APIs that are executable only from Studio's
| |
| 720 | AssetRead | 33 | Guards access to APIs that read or query asset metadata from the Roblox catalog. | |
| 720 | AssetManagement | 34 | Guards access to asset management APIs such as ContentProvider:PreloadAsync() and encryption-key registration. | |
| 720 | DynamicGeneration | 35 | Guards access to procedural and AI-driven content generation APIs such as EditableMesh and AvatarCreationService. | |
| 720 | PlatformAvatarEditing | 36 | Guards access to platform-level avatar editing APIs provided by AvatarEditorService. | |
| 720 | AssetCreateUpdate | 37 | Guards access to APIs that create or update published Roblox assets. | |
| 720 | Capture | 38 | Guards access to CaptureService APIs that take screenshots and record video. | |
| 720 | SensitiveInput | 39 | Guards access to sensitive user input APIs such as those that can read raw keyboard or mouse data beyond normal game input. | |
| 720 | Monetization | 40 | Guards access to in-experience purchase and monetization APIs such as MarketplaceService. | |
| 720 | LoadOwnedAsset | 41 | Allows a script to load assets that are owned by the experience's creator using InsertService or require(). | |
| 720 | Social | 42 | Guards access to social APIs such as SocialService, FriendPages, and ExperienceInviteOptions. | |
| 720 | ServerCommunication | 43 | Guards access to server-to-server messaging APIs such as MessagingService. | |
| 720 | Logging | 44 | Guards access to LogService and logging-related APIs. | |
| 720 | PromptExternalPurchase | 45 | Guards access to APIs that initiate external (non-Roblox) purchase prompts. | |
| 720 | Groups | 46 | Guards access to group-related APIs such as GroupService. | |
| 720 | Teleport | 47 | Guards access to teleportation APIs such as TeleportService, TeleportOptions, and TeleportAsyncResult. | |
| 720 | Consequences | 48 | Guards access to moderation and player-consequence APIs such as Players:BanAsync() and ModerationService. | |
| 720 | Material | 49 | Guards access to MaterialService, MaterialVariant, and custom material APIs. | |
| 720 | AvatarBehavior | 50 | Guards access to APIs that control avatar locomotion and behavior at runtime. | |
| 720 | AvatarAppearance | 51 | Guards access to APIs that read or modify avatar appearance, such as HumanoidDescription. | |
| 720 | LoadUnownedAsset | 52 | Allows a script to require() asset IDs or call InsertService:LoadAsset() for assets not owned by the creator. |
Description
SecurityCapability is a bitmask-based permission system that controls which
engine APIs and Luau language features are accessible to scripts running
inside sandboxed containers. Each value represents one capability bit that can
be granted or restricted.
When an Instance has its Sandboxed property
enabled, the engine intersects the capabilities of all ancestor containers to
determine the effective permission set of any script that executes within that
container. API members, classes, and Luau built-ins are each annotated with
one or more SecurityCapability values; a script's thread must hold every
required capability to call them.
History 154
- 720 Change Index of WritePlayer from 23 to 25
- 720 Change Index of Unassigned from 26 to 28
- 720 Change Index of UI from 11 to 12
- 720 Change Index of Teleport from 45 to 47
- 720 Change Index of Social from 40 to 42
- 720 Change Index of ServerCommunication from 41 to 43
- 720 Change Index of SensitiveInput from 37 to 39
- 720 Change Index of ScriptGlobals from 4 to 5
- 720 Change Index of RobloxScript from 24 to 26
- 720 Change Index of RobloxEngine from 25 to 27
- 720 Change Index of RemoteEvent from 17 to 19
- 720 Change Index of RemoteCommand from 30 to 32
- 720 Change Index of PromptExternalPurchase from 43 to 45
- 720 Change Index of PluginOrOpenCloud from 28 to 30
- 720 Change Index of Plugin from 21 to 23
- 720 Change Index of Players from 19 to 21
- 720 Change Index of PlatformAvatarEditing from 34 to 36
- 720 Change Index of Physics from 10 to 11
- 720 Change Index of Network from 9 to 10
- 720 Change Index of Monetization from 38 to 40
- 720 Change Index of Material from 47 to 49
- 720 Change Index of Logging from 42 to 44
- 720 Change Index of LocalUser from 22 to 24
- 720 Change Index of LoadUnownedAsset from 50 to 52
- 720 Change Index of LoadString from 3 to 4
- 720 Change Index of LoadOwnedAsset from 39 to 41
- 720 Change Index of LegacySound from 18 to 20
- 720 Change Index of InternalTest from 27 to 29
- 720 Change Index of Input from 15 to 17
- 720 Change Index of Groups from 44 to 46
- 720 Change Index of Environment from 16 to 18
- 720 Change Index of DynamicGeneration from 33 to 35
- 720 Change Index of DataStore from 8 to 9
- 720 Change Index of CreateInstances from 5 to 6
- 720 Change Index of Consequences from 46 to 48
- 720 Change Index of Chat from 13 to 14
- 720 Change Index of Capture from 36 to 38
- 720 Change Index of CapabilityControl from 20 to 22
- 720 Change Index of CSG from 12 to 13
- 720 Change Index of Basic from 6 to 7
- 720 Change Index of AvatarBehavior from 48 to 50
- 720 Change Index of AvatarAppearance from 49 to 51
- 720 Change Index of Avatar from 52 to 16
- 720 Change Index of Audio from 7 to 8
- 720 Change Index of Assistant from 29 to 31
- 720 Change Index of AssetRequire from 51 to 3
- 720 Change Index of AssetRead from 31 to 33
- 720 Change Index of AssetManagement from 32 to 34
- 720 Change Index of AssetCreateUpdate from 35 to 37
- 720 Change Index of Animation from 14 to 15
- 711 Change Index of WritePlayer from 25 to 23
- 711 Change Index of Unassigned from 28 to 26
- 711 Change Index of UI from 12 to 11
- 711 Change Index of Teleport from 47 to 45
- 711 Change Index of Social from 42 to 40
- 711 Change Index of ServerCommunication from 43 to 41
- 711 Change Index of SensitiveInput from 39 to 37
- 711 Change Index of ScriptGlobals from 5 to 4
- 711 Change Index of RobloxScript from 26 to 24
- 711 Change Index of RobloxEngine from 27 to 25
- 711 Change Index of RemoteEvent from 19 to 17
- 711 Change Index of RemoteCommand from 32 to 30
- 711 Change Index of PromptExternalPurchase from 45 to 43
- 711 Change Index of PluginOrOpenCloud from 30 to 28
- 711 Change Index of Plugin from 23 to 21
- 711 Change Index of Players from 21 to 19
- 711 Change Index of PlatformAvatarEditing from 36 to 34
- 711 Change Index of Physics from 11 to 10
- 711 Change Index of Network from 10 to 9
- 711 Change Index of Monetization from 40 to 38
- 711 Change Index of Material from 49 to 47
- 711 Change Index of Logging from 44 to 42
- 711 Change Index of LocalUser from 24 to 22
- 711 Add LoadUnownedAsset
- 711 Change Index of LoadString from 4 to 3
- 711 Change Index of LoadOwnedAsset from 41 to 39
- 711 Change Index of LegacySound from 20 to 18
- 711 Change Index of InternalTest from 29 to 27
- 711 Change Index of Input from 17 to 15
- 711 Change Index of Groups from 46 to 44
- 711 Change Index of Environment from 18 to 16
- 711 Change Index of DynamicGeneration from 35 to 33
- 711 Change Index of DataStore from 9 to 8
- 711 Change Index of CreateInstances from 6 to 5
- 711 Change Index of Consequences from 48 to 46
- 711 Change Index of Chat from 14 to 13
- 711 Change Index of Capture from 38 to 36
- 711 Change Index of CapabilityControl from 22 to 20
- 711 Change Index of CSG from 13 to 12
- 711 Change Index of Basic from 7 to 6
- 711 Change Index of AvatarBehavior from 50 to 48
- 711 Add AvatarAppearance
- 711 Change Index of Avatar from 16 to 52
- 711 Change Tags of Avatar from [] to [Deprecated]
- 711 Change Index of Audio from 8 to 7
- 711 Change Index of Assistant from 31 to 29
- 711 Change Index of AssetRequire from 3 to 51
- 711 Change Tags of AssetRequire from [] to [Deprecated]
- 711 Change Index of AssetRead from 33 to 31
- 711 Change Index of AssetManagement from 34 to 32
- 711 Change Index of AssetCreateUpdate from 37 to 35
- 711 Change Index of Animation from 15 to 14
- 706 Add Teleport
- 706 Add Social
- 706 Add ServerCommunication
- 706 Add SensitiveInput
- 706 Add PromptExternalPurchase
- 706 Add PlatformAvatarEditing
- 706 Add Monetization
- 706 Add Material
- 706 Add Logging
- 706 Add LoadOwnedAsset
- 706 Add Groups
- 706 Add DynamicGeneration
- 706 Add Consequences
- 706 Add Capture
- 706 Add AvatarBehavior
- 706 Add AssetRead
- 706 Add AssetManagement
- 706 Add AssetCreateUpdate
- 697 Add WritePlayer
- 697 Add Unassigned
- 697 Add RobloxScript
- 697 Add RobloxEngine
- 697 Add RemoteCommand
- 697 Add PluginOrOpenCloud
- 697 Add Plugin
- 697 Add LocalUser
- 697 Add InternalTest
- 697 Add Assistant
- 670 Add CapabilityControl
- 664 Add Players
- 649 Add LegacySound
- 643 Add RemoteEvent
- 643 Add Input
- 643 Add Environment
- 636 Add UI
- 636 Add Chat
- 636 Add CSG
- 636 Add Avatar
- 636 Add Animation
- 635 Add ScriptGlobals
- 635 Add RunServerScript
- 635 Add RunClientScript
- 635 Add Physics
- 635 Add Network
- 635 Add LoadString
- 635 Add DataStore
- 635 Add CreateInstances
- 635 Add Basic
- 635 Add Audio
- 635 Add AssetRequire
- 635 Add AccessOutsideWrite
- 635 Add SecurityCapability