---
schema_version: "1"
id: 96ed3a3d35d861c8dd9224c62844582a3d58341508418a74ccde13a8d0457366
title: Attribute Access Control
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/access/access-attr.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/access-attr.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c4cacc92ca675500375d51175a53751d186b99dbc5b6284447f3cbe2a1ba643f
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Attribute Access Control

The `access` attribute on the `aura:attribute` tag controls whether the attribute can be used outside of the attribute’s namespace.

Possible values are listed below.

|Access|Description|
|------|-----------|
|`private`|Available within the component, app, interface, or event, or method and can’t be referenced outside the resource. Accessing a private attribute returns `undefined` unless you reference it from the component in which it’s declared. You can’t access a private attribute from a sub-component that extends the component containing the private attribute.|
|`public`|Available within your org only. This is the default access value.|
|`global`|Available in all orgs.|

