Report this

What is the reason for this report?

Spaces with Unity

Posted on March 29, 2021

I’m interested in using Spaces with a Unity application.

Is there a recommended method for uploading/downloading content to Spaces through Unity? And is it possible to limit access to only devices running my client?



This textbox defaults to using Markdown to format your 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.

You can utilize the Amazon S3 SDK for Unity as Spaces is S3-compatible. This will allow you to upload, download and manage your content with ease. Here is the link to the SDK: https://aws.amazon.com/tools/unity/

For security purposes and limiting access to only devices running your client, you can use Signed URLs or Signed Cookies. These enable you to give temporary access to specific content in your Space. To achieve this, consider using a backend server that generates the signed URLs/cookies for your client application as needed. You can learn more about generating signed URLs for Spaces here: https://docs.digitalocean.com/products/spaces/how-to/manage-access/

If you’d like additional information on using DigitalOcean Spaces, please refer to our Spaces documentation: https://docs.digitalocean.com/products/spaces/

Hope that this helps!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.