SWR-009- New users of the device are only created by an internal user registration service
Internal ID | SWR_009 |
Title | New users of the device are only created by an internal user registration service |
Category | SECURITY REGULATORY |
Importance | CRITICAL |
System | Backend |
Editor(s) | Alejandro Carmena Magro , JD-017 |
Supervisor | Alfonso Medela , JD-005 |
Approval | PENDING |
Created at | 25 Jun 2024 |
Description​
The user registration service will be integrated into the company's internal network, making it accessible only within the organization. This service will offer an interface for authorized personnel to create and manage API user accounts, incorporating necessary validation and authentication mechanisms. By preventing self-registration, this setup supports the pay-per-use business model, ensuring controlled access and usage of API endpoints. Additionally, the service should include logging and monitoring features to track registration activities and ensure adherence to internal security policies.
An efficient way to fulfill this requirement is to develop backend code for the user account management service, including user registration functionality, and provide a REST API or CLI as the user interface. The next step is to launch a basic-tier compute instance with the cloud provider and clone the code repository there. For a CLI, authorized personnel would execute the "main" file to start the command line interface on demand. For an API, the application would run continuously on the instance.
In either scenario, only authorized personnel with the necessary access keys can connect to the cloud instance and use the user account management service, thereby entrusting much of the security responsibility to the cloud provider.
Rationale​
This requirement ensures controlled access to the API by restricting user registration to company staff, thus maintaining the integrity of the pay-per-use model. It prevents unauthorized access and potential misuse by limiting the ability to create new users to internal personnel only.
Source​
- Alejandro Carmena Magro , JD-017
- Inherent to the business model
Tested by software tests​
Activities generated​
- Design and develop the user registration service or tool, which will perform high-level CRUD operations on the user database.
- Develop an interface for authorized staff to use the user registration system.
- Implement network restrictions to ensure internal-only access.
Implements user or system needs​
This requirement fulfills the need for secure and controlled user registration, making sure that only authorized personnel can register new users, which aligns with the operational model of the API service.
Regulatory requirements​
9.1: The device shall be compliant with MDR 2017/745, Annex I, point 17.2, 17.4, 18.8, 23.4(ab).
Causes failure modes​
- Unauthorized access if network restrictions fail.
- Inability to register new users if the service is not properly implemented.
Implements risk control measures​
- By restricting the user registration service to the internal network, the risk of unauthorized access is significantly reduced.
- The registration service will incorporate authentication mechanisms to verify the identity of the personnel accessing the interface.
- All registration activities will be logged and monitored to detect any unusual or unauthorized activities promptly.
- The internal network will be secured with firewalls, intrusion detection systems (IDS), and other security measures to prevent external attacks and make sure that the registration service is not exposed to the internet.
Acceptance criteria​
- The user registration service is accessible only within the internal network.
- Company staff can successfully register new API users through the service, but also carry out all other CRUD operations.
- Unauthorized attempts to access the registration service are logged and prevented.
Constraints​
No specific constraints are needed to limit the developers' freedom in implementing this requirement.
Dependencies​
- Availability and accessibility to an AWS DocumentDB or MongoDB database.
- Internal private network (either in the cloud or on-premises).
Performance considerations​
There are no specific performance considerations for this requirement. Performance is not a critical factor here.
Additional notes​
No additional remarks are required.
Revision history​
Document version | Date | Author | Description |
---|---|---|---|