App Security FAQ
Overview
Here is a compiled list of common questions and answers around building secure apps with Airkit, ranging from best practices around TCPA, Airdata security and retention, session expiry, and more.ย
General
Are data flows run server-side or client-side?
Data flows are run server-side, which is why they have inputs and outputs. Data that is stored at the session namespace, activity group namespace, or activity namespace is stored on the client and accessible through the browser. For more information on variables scopes, see here.ย
How long do sessions last?
By default, sessions have an expiration of 30 days. Session expiration time can be configured in Settings. Journey's can also be extended using the Extend Session Expiration Time action in an action chain as well.ย
How do you know if a session/journey has been completed?
Session Activity can be monitored and seen by clicking on the menu icon > Sessions and Activity when editing an application in the studio. Journey's can also be ended manually by using the End Session action in an action chain.ย
Can I build an app that requires authentication?
Yes, in Airkit there is the concept of Public Apps, Secure Apps and Authentication Apps, which can be configured in Settings. Public apps can be accessed from anyone and are open to the public for access. Secure apps can only be accessed by being redirected through an Authentication app. The Authentication App is typically a generic app that asks for a username/password (password is a secure text input control), and when submitted, calls the set authentication action. If the username/password matches the authentication parameters, then the set authentication action redirects the user to the secure app journey. The secure app also has a cookie that can be set, which will redirect the user back to the authentication app when it is expired.ย
Are assets uploaded to the Media Library scanned for any malware or viruses?
Yes, assets uploaded to the Media library are scanned for trojans, malware, viruses and other threats. If a malicious file is detected, the asset will be rejected.ย
Are my API tokens in console secure?
Yes, API tokens and credentials that are uploaded via integrations are stored in an encrypted vault.
Data
What realms are Airkit Apps and data stored?
When an Airkit Organization is provisioned, the organization and all assets pertaining to that organization are stored in a realm that is selected at purchasing. These realms include United States (us-west-2), Australia (ap-southeast-2), and the EU (eu-central-1). If you are not sure what realm an Airkit Organization is provisioned in, please reach out to your sales representative or reach out to [email protected].
Where is data in Airdata stored, and is it secure?
Airdata is encrypted at rest, encrypted in transit between systems and encrypted on the server itself. Our online infrastructure is built on Amazon Web Services, and Airkit maintains a SOC2, PCI, HIPAA and other controls that cover the service's security, confidentiality, availability, and integrity. For more information, see https://www.airkit.com/security/.
How long is data retained?
Data stored in Airdata is retained unless it is manually deleted. Session data, on the other hand, is stored for the length of the session duration. Session duration is configurable by the user in configuration builder and can also be extended by using the The Extend Session Expiration Time Action.ย
I am an Airkit customer that is in Europe and is subject to GDPR. How do I ensure my data stays within the EU?
When an Airkit organization is provisioned, you have the ability to select a realm for where your data resides. If you select an EU realm, your data will stay within the EU-Central-1 AWS region. Please note that as a developer you have the ability to call APIs and copy data globally, the realm constraint ensures that Airkit will not move your data or processing outside of that region.
I am an Airkit customer that is subject to HIPAA. How do I ensure my application remains HIPAA compliant.
When an Airkit organization is provisioned, you have the ability to select a realm for where your data resides. If you select a US realm, your data will stay within the us-west-2 AWS region, and ensures that Airkit will not move your data or processing outside of the US realm. As a developer, you also have other tools available to help you build applications to help meet HIPAA requirements. Airkit supports encryption, using Airkit's default keys or you can bring your own key, along with data tagging in AirData. There is also the secure text input control so that inputs can only be accessed server-side and not saved on the browser as well as the Secure Touchtone Capture Control.
Where is the data from inputs or variables stored?
Data that is input on the client is saved on the browser. If using the secure text input control, the values input into that control are not surfaced on the browser. Using the secure text input control generates a secureValueKey
that can be accessed through a data flow using the The Secure Value Retrieval Data Operation.
How are assets retained on Airkit servers?
Assets in Airkit are uploaded to Amazon S3, in a separate bucket per org, per application. Assets can either created as a global asset or a private asset. Global assets are available on the CDN with a static link. Private assets have a generated link and has an expiration time which is configurable. See The Asset Data Type for more information.
How do I handle secure data when building in Airkit?
Secure data can be handled by using the Secure Text Input Web Control, Secure Touchtone Capture Control, or by using PCI compliant controls such as the Credit Card Control or the Payment Request Button Control.ย
How are emails handled in Airkit?
When using the The Send Email Data Operation, emails get routed through Amazon SES and do not sit on Airkit servers. Mailboxes are also not hosted by Airkit and receiving emails are the responsibility of the mailbox owner.
TCPA
What are some best practices for building an application that is TCPA compliant?
The best way to ensure TCPA compliance when building out an application, is to first be able to extract a user's state and timezone locale. The best way to do this, is to ask for a user's zipcode, and use a zipcode lookup API to extract state and timezone. Using this information, chat/voice bots can be triggered on timers that can be restricted to only run based on a TCPA calendar. The calendar restriction must be to eitherย Do not schedule and cancelย orย Schedule in next available time slot. For more information on TCPA, see How To enforce TCPA.
PCI Compliance
What are best practices when building a PCI compliant application?
When building a PCI compliant app, ensure that no sensitive data is saved on the client. Data that is deemed sensitive should use the Secure Text Input Web Control, and pass that data to be retrieved server side, through a data flow. Also, data that is passed to the data flow should not be returned as an output, or else the application is no longer PCI compliant. Also, when capturing credit card information, Airkit has PCI specific controls that are PCI compliant out of the box, such as Credit Card Web Control and the Payment Request Button Web Control.
Updated about 2 years ago