About This Book

Audience

This documentation is for users who need to develop a SAS Studio repository.
The specifics of how you deploy a repository are not covered in this documentation. You can deploy repositories using web-hosting services, source management services such as GitHub, or your own web content system. The process for deploying repositories depends on the setup at your site.

Requirements

Prerequisites

To access repositories in SAS Studio, your SAS Studio administrator must set the webdms.allowRepositories and webdms.globalSettings configuration properties. For more information about these configuration properties, see SAS Studio: Administrator's Guide.
To develop your repository, you can use a variety of tools. If you are already familiar with web hosting, you can use the tool that you are already familiar with. If you are not familiar with developing repositories, SAS Studio provides a Repository Toolkit Appliance that you can use for development. To run this toolkit, you must install Oracle VirtualBox. For more information, see Installing and Configuring the Repository Toolkit Appliance.

Using a Web-Hosting Service

SAS Studio repositories contain multiple file types. Because of the same-origin policy, you must use a web-hosting service such as GitHub and the Repository Toolkit Appliance. You cannot use a site that cannot host HTML web content with embedded Javascript. For example, Google Drive, Drop Box, and Microsoft SharePoint are file-hosting mechanisms that cannot host true web content.

Security Considerations

The security for the SAS Studio repositories depends on these security models:
  • The best security is where the repository is deployed. For example, the repository can be deployed inside a firewall for maximum security or outside a firewall for lower security.
  • Basic web authentication is supported.
  • When possible, SAS Studio uses the existing security from external sources.
Because of security concerns, you might want to prevent users from adding any user-defined repositories to their SAS Studio sessions. When the webdms.allowRepositories property is set to false, the Repositories section is not available in the Preferences window in SAS Studio. To allow users to add user-defined repositories, set the webdms.allowRepositories property true.
Note: If defined, global repositories are always available to the SAS Studio user from the Tasks and Utilities and Snippets sections in the navigation pane. Global repositories are not listed in the Repositories section of the Preferences window. The location of the global repository is defined by the webdms.globalSettings configuration property.