Spreadsheet Cloud API: protectSpreadsheet

Applies dual-layer password protection to Excel spreadsheets, supporting both open and modify passwords with encryption.

Quick Start

Interface Details

Endpoint

PUT http://api.aspose.cloud/v4.0/cells/protection/spreadsheet

Function Description

This WEB API applies dual-layer password protection to Excel spreadsheets, supporting both open and modify passwords. Passwords can be encrypted to enhance security.## Error Handling- 400 Bad Request: Invalid url.- 401 Unauthorized: Authentication has failed, or no credentials were provided.- 404 Not Found: Source file not accessible.- 500 Server Error The spreadsheet has encountered an anomaly in obtaining data.## Key Features and Benefits- Open Password: Restricts access to the spreadsheet, ensuring only authorized users can open the file.- Modify Password: Restricts the ability to edit the spreadsheet, allowing users to view but not alter the content.- Encryption: Passwords are encrypted to provide an additional layer of security.

The request parameters of protectSpreadsheet API are:

| Parameter Name | Type | Path/Query String/HTTPBody | Description | | :- | :- | :- |:- | |Spreadsheet|File|FormData|Upload spreadsheet file.| |password|String|Query|Spreadsheet file encryption password.| |modifyPassword|String|Query|Sets the protected password to modify the file.| |outPath|String|Query|(Optional) The folder path where the workbook is stored. The default is null.| |outStorageName|String|Query|Output file Storage Name.| |region|String|Query|The spreadsheet region setting.|

Response Description

{
File
}

OpenAPI Specification

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

[Back to API list]
[Back to README]