Applications primarily hosted on an external platform must meet these security review requirements:
1. **Testing Scope**: The entire solution, including external endpoints, must be tested. This includes endpoints for user authentication or Salesforce data transfer, ensuring secure processes.
2. **Control Over External Endpoints**: You must have control over the external endpoint (e.g., ability to place a token in the web app root for testing). Without this control, the review cannot proceed.
3. **Security Testing**: Conduct manual and automated security scans, including Dynamic Application Security Testing (DAST). Document and address any false positives.
4. **Credentials and Secrets Management**: Securely store credentials for web services calling Salesforce APIs. Encrypt server-side secrets with AES-128 or higher, and avoid logging or storing sensitive data unencrypted.
5. **TLS Requirements**: External endpoints must support TLS v1.2 or higher. Weak ciphers and outdated protocols are not allowed.
6. **Documentation**: Submit detailed documentation, including security scan reports, false-positive explanations, and solution architecture details.
7. **Compliance with Policies**: Follow Salesforce's security policies, secure coding practices, and industry standards.
8. **Staging Environment**: Testing can occur in a staging environment if it mirrors production. SSL scans will be performed on the production version.
These steps ensure the security and compliance of externally hosted applications.