Whitelisting CORS
Magentrix has security in place for Cross-Origin Resource Sharing (CORS) from unauthorized external sources. Administrators can whitelist specific CORS sources from being blocked by the portal.
Requirements:
To add CORS domains to the whitelist, users must be assigned a security role with the following permissions:
- Administrator System Role
To add a CORS source or domain to the whitelist:
- Navigate to Setup > Security > Whitelisted CORS.
- Click New.
- Enter the CORS source that you would like to whitelist. If you would like to whitelist a domain, enter the following format: "*.domain.com".
- Click Save.
To edit a whitelisted CORS source or domain:
- Navigate to Setup > Security > Whitelisted CORS.
- Next to the whitelisted source or domain, click Edit.
- Make your changes and then click Save.
To delete a whitelisted CORS source or domain:
- Navigate to Setup > Security > Whitelisted CORS.
- Click New.
- Next to the whitelisted source or domain, click Delete and then click OK.