Protect Excel files

Aspose.Cells Cloud SDK supports workbook decryption, encryption, and digital signatures.

Aspose.Cells Cloud REST API supports workbook decryption, encryption, and digital signatures, and provides SDKs for various programming languages, including Android, C#, Go, Java, NodeJS, Perl, PHP, Python, Ruby, and Swift.

POST
https://api.aspose.cloud/v3.0/cells/protect
Choose files

	using Aspose.Cells.Cloud.SDK.Api;
    using Aspose.Cells.Cloud.SDK.Model;
	using Aspose.Cells.Cloud.SDK.Request;
	using System;
	using System.IO;
	using System.Collections.Generic;
	CellsApi cellsApi = new CellsApi("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
	string filePath = "test.txt";
	PostProtectRequest request = new PostProtectRequest();
	request.File = new Dictionary<string, Stream>();
	Stream fileStream = File.OpenRead(filePath);
	request.File.Add(filePath, fileStream);
    request.protectWorkbookRequest = new Model.ProtectWorkbookRequest{};
    request.password = "asposelock";
	Aspose.Cells.Cloud.SDK.Model.FilesResult result = cellsApi.PostProtect(request);
	fileStream.Close();    
	    
 
 

Popular Operates

 
 
 
 
 
 
 

Supported Develop Languages