> For the complete documentation index, see [llms.txt](https://guide.form.gov.sg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.form.gov.sg/introduction/is-formsg-secure.md).

# Is FormSG secure?

{% tabs %}
{% tab title="Are form responses collected secure?" %}

* Form responses submitted are stored in **encrypted** format and/or sent directly to email addresses indicated.<br>

* During form creation, the user’s client/browser generates a **secret key** that is never seen by the FormSG team. The secret key is used to activate your form, unlock and view responses, ensuring that only form admins can access and view responses.&#x20;

* FormSG does not store any form response data in our servers. If you opt to receive emails, do ensure mailboxes are not over-capacity, or else form responses will be lost.

Should our servers be compromised, attackers would not be able to view all form response data unless they have access to your forms, secret keys and inboxes.
{% endtab %}

{% tab title="What is Form's infrastructure? (Developers)" %}
FormSG has undergone rigorous penetration testing, vulnerability assessment and infrastructure review by both world renowned security testers and CSG.&#x20;

FormSG's infrastructure consists of:

* **NodeJS web servers**, hosted on AWS Singapore zone.
* **MongoDB Atlas** for managing NoSQL database that stores only form fields and not response data, hosted on AWS Singapore zone.
* **AWS SES** is used to send out mails, which are not open mail relays, have valid SPF and DKIM records, and encrypts form data before sending.&#x20;
* **Cloudflare SSL** web servers protection with Anti-DDoS protection and Web Application Firewall.&#x20;
* **Datadog** is used for website performance and availability monitoring.
* **AWS CloudWatch** for alarms.
* **CloudTrail** for activity monitoring.
* **GuardDuty** for threat intelligence monitoring and attachment virus scanning.&#x20;

<figure><img src="/files/lrI2ocoyo4wdNRWryKmJ" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://guide.form.gov.sg/introduction/is-formsg-secure.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
