Question

How can I access Space private files using web API with c#?

How can I access Space private files using web API with c#?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello, I can see a mod answered the question in the following question:

https://www.digitalocean.com/community/questions/how-can-i-access-private-files-on-spaces-using-get

To be more specific, here is the relevant reply posted from user asb back in the day:

Spaces was designed to be compatible with the S3 API in order to allow users to leverage existing tools. Accessing private files requires generating a signature for authentication. As this is quite complicated, you should generally use an existing library in your programing language of choice.

Check out this question for examples in a number of languages:

How to use DigitalOcean Spaces with the AWS S3 SDKs? Let us know more about how you are trying to access the files, and we can provide a more specific answer.