Who is this article for?
CrashPlan for Small Business, no.
Code42 for Enterprise, yes.
Link: Product plans and features.
This article applies to on-premises authority servers.
The Code42 API supports cross-origin resource sharing (CORS), facilitating the creation of powerful web or browser-based solutions in complex domain environments. This article explains what CORS is, why it is useful, and which resources support CORS.
CORS and the Code42 API
Cross-origin resource sharing (CORS) allows a web page or browser-based app to request resources from a domain outside of its host domain. With CORS, it doesn't matter where your Code42 servers reside: your web app will be able to leverage the API endpoints just as if the servers reside at the app's home domain.
Using Code42 API resources that support CORS requires no additional work. Cross-domain requests work without any extra effort or coding.
Your environment is configured like this:
- You have an authority server in the domain foo.com
- You have a storage server in the domain bar.com
- Your web server is running the domain example.com
With CORS, the web app you develop (which runs on a server in the example.com domain) that calls the Code42 API on servers running on the domains foo.com and bar.com will not be blocked by the default security settings of your users' browsers.
Code42 API resources that support CORS
- QuickShare (Versions earlier than 6.5 only)
Read descriptions of these and other Code42 API resources using the API Documentation Viewer.