# Security guidelines

## Personal Security

Good security practices start on yourself and your own devices (laptop, mobile phone, etc.). Any device you use to do MarsBased work needs to be properly protected to minimize the chances of a bad actor accessing the device data.

* [Protect Yourself](https://github.com/MarsBased/handbook/blob/master/guides/security/protect_yourself.md)
* [Protect Your Devices](https://github.com/MarsBased/handbook/blob/master/guides/security/protect_your_devices.md)

## Web Application Security

It is crucial to keep the web applications we work on as secure as possible. Even the smallest vulnerability, if exploited in the right way, can be disastrous for a client. Therefore, applying good security practices to the web applications we develop for clients (and even internal applications for MarsBased) is of the utmost importance.

* [Web Application Security Features](https://github.com/MarsBased/handbook/blob/master/guides/security/web_application_security_features.md)
* [Common attack vectors](https://github.com/MarsBased/handbook/blob/master/guides/security/common_attack_vectors.md)
* [Admin panel protection](https://github.com/MarsBased/handbook/blob/master/guides/security/admin_panel_protection.md)
* [User accounts protection](https://github.com/MarsBased/handbook/blob/master/guides/security/user_accounts_protection.md)
* [Cookies best practices](https://github.com/MarsBased/handbook/blob/master/guides/security/cookies_best_practices.md)
* [Security related headers](https://github.com/MarsBased/handbook/blob/master/guides/security/security_related_headers.md)
* [Periodical Maintenance Tasks](https://github.com/MarsBased/handbook/blob/master/guides/security/periodical_maintenance_tasks.md)
* [Securing backups](https://github.com/MarsBased/handbook/blob/master/guides/security/securing_backups.md)

## MarsBased security

There are some cross-client aspects we need to take into account at company level to make sure we minimize the exposure of MarsBased or clients projects and data.

* [3rd Party Software Integrations](https://github.com/MarsBased/handbook/blob/master/guides/security/3rd_party_software_integrations.md)
* [Off-Boarding](https://github.com/MarsBased/handbook/blob/master/guides/security/off_boarding.md)


---

# 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://handbook.marsbased.com/our-development-guides/security.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.
