# Broken access control

<details>

<summary>Access Control là gì?</summary>

Đảm bảo rằng mọi người có quyền truy cập vào những gì họ được cho là có quyền truy cập và không có quyền truy cập vào những gì họ không có quyền truy cập.

</details>

Một người có quyền truy cập ngoài ý muốn có thể đọc, chỉnh sửa hoặc xóa dữ liệu riêng tư.

<details>

<summary>Typical Roles</summary>

* Anonymous user
* Visitor
* Employee
* Content contributor
* Administrator
* Developer

</details>

<details>

<summary>Broken Access Control là gì?</summary>

Khi một người dùng có thể hành động vượt quá quyền của vai trò họ.

</details>

Điểm mấu chốt: Đảm bảo rằng bạn không vô tình để lại dữ liệu riêng tư ở các khu vực công cộng.

Khi gửi thông tin cá nhân/riêng tư hãy đảm bảo rằng bạn gửi nó đến đúng người.

<details>

<summary>Key Takeaway</summary>

&#x20;Hãy chú ý xây dựng khả năng kiểm soát truy cập vững chắc vào hệ thống của bạn.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viettaliii.gitbook.io/home/role/information-security-specialist/owasp-top-10-2021/broken-access-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
