Security and compliance are essential for real-time engagements through technology. In order to provide safe and reliable cloud services, Agora adheres to the compliance requirements of different countries, regions, and industries.
Agora Flexible Classroom is designed and built with multiple protection measures against attacks commonly seen in the real-time engagement industry. This page describes some of the security best practices that Agora Flexible Classroom has adopted, as well as security tools it provides for developers, as follows:
|Protection measures||Applied by default||Recommended scenarios|
|Classroom separation||Yes||All real-time scenarios.|
|Token authentication||No||All real-time apps must use token-based end user authentication.|
|Data encryption and storage||Yes||Real-time scenarios that require confidentiality.|
|Network geofencing||No||Real-time scenarios where customers wish to restrict access to Agora servers to within a specified region.|
Agora creates independent and isolated classrooms for audio, video, or messaging data transmission with the room ID specified by the app developer. All classrooms are logically separated and only authenticated users from the same Agora App ID can join the same classroom.
Agora Flexible Classroom uses the RTM token for end user authentication. The RTM token is an access key with the expiration time of 24 hours. It is generated by the app backend with important information such as the Agora App ID, user ID (
uid), and channel name. It allows end users to access the Agora platform after the user is properly validated by the app.
The app developer can enable token authentication (App Certificate) in Agora Console. When enabled, all user’s request to join a classroom must be done with a valid RTM token.
To guarantee data confidentiality during transmission, Agora Flexible Classroom uses the TLS (Transport Layer Security) and Secure Sockets Layer (SSL) encryption protocols.
Agora Flexible Classroom does not store any of your business data or user data except for caching them for transmission purpose. The cached data will be released an hour after the classroom ends. Agora Flexible Classroom supports uploading files and real-time recording in a classroom. The uploaded class files and recorded files are stored in the third-party cloud storage designated by the app developer. These features are disabled by default. Only after the app developer enables these features and specifies a third-party cloud storage in Agora Console, can authenticated users access the services and the stored resources. For details, see Configure the Flexible Classroom in Agora Console.
To conform to the laws and regulations of different countries and regions, Agora Flexible Classroom supports network geofencing, which limits the transmission of data to within a specified region.
Agora Flexible Classroom sets up the following four regions and supports the network geofencing in the following regions:
|Data center||Location||Service region|
||Shanghai, China||Mainland China|
||Silicon Valley, US||North America|
Agora Flexible Classroom implements network geofencing in each server-side RESTful API as well as all client-side Classroom SDKs. The app developer can specify a region when calling the RESTful APIs or launching a classroom.
With network geofencing enabled, data transfer will be restricted to the service regions that your specified data center covers. However, in some cases cross-region data transfer may be needed. For example, a teacher joins a flexible room in Europe, but the students are located in North America. For the teacher to interact with these students, it must be allowed to transmit the data to regions outside Europe. In such cases, Agora Flexible Classroom can support cross-region data transfer under your permissions.
Use this list to quickly check what measures you have or have not taken to best protect the security of your app and users: