Any incoming messages or requests to retrieve messages need to be verified to maintain security. Incoming messages and requests that lack authentication will be refused.
Whenever there is a call to the web interface, the caller is identified using the methods described above. The interface returns a '401 - Unauthorized':
- if there is no authorization in the message
- if the message contains a 'Basic' identification, but no matching customer or supplier can be found
- if the message contains a 'Bearer' identification, but no matching customer or supplier can be found
For any calls made to the interface, the system logs date, time, caller identity and the result.
If they are an authorized party, the interface still runs the following checks:
- When they connect to retrieve a message, the interface checks if the authenticated party matches the party to whom the message is addressed
- When they connect to leave a message, the interface checks if the authenticated party matches the sender of the attached SCSN message.
If these checks fail, access will be denied and a '403 - Forbidden' will be returned.