# Security & Compliance

This section introduces the principles of **web application security and compliance** that are relevant when designing, developing, and operating applications on the ONEWEB platform.

It explains common **security concepts, terminologies, and best practices** used throughout this guide, and provides an overview of a **layered security approach** that spans multiple levels, including:

* Network security
* Host and infrastructure security
* Application‑level security

In addition, this section highlights how security controls and compliance considerations should be **designed into the application lifecycle**, rather than added later, ensuring that applications meet organizational, regulatory, and industry security requirements.

***

#### Scope of This Section

Within this section, you will learn about:

* Secure design principles for ONEWEB applications
* Authentication, authorization, and access control concepts
* Data protection and secure communication practices
* Runtime security considerations
* Compliance awareness and governance alignment

The goal is to provide a **foundational understanding of security and compliance**, enabling developers and architects to design solutions that are secure, resilient, and compliant by default.


---

# 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://docs.onewebstack.com/oneweb-platform-th/building-apps/security-and-compliance.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.
