Question

Spaces request authentication

Hi all!

Is it possible to have Spaces checking for authentication and authorization?

Let’s say I have bunch of restricted files on my Spaces and different users will have access to different files.

I could solve this by having a Droplet service that connects to Spaces directly, which my Droplet service would serve as authentication/authorization.

What if I don’t want this middleware droplet server? In AWS it seems like we can do some serverless solution like using Lambda.

Or am I totally misunderstanding the process?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello @pikachu

In Spaces, you can manage access to files using permissions and generating quick access links with expiry. Also, you can manage the Spaces using Spaces access Keys.

Here are the documentation links for more context: https://www.digitalocean.com/docs/spaces/how-to/set-file-permissions/ https://www.digitalocean.com/docs/spaces/how-to/manage-access/

We don’t have any serverless solutions such as Lambda at this time.

Cheers,

Dikshith