Severin Alice
Severin Alice

Reputation: 61

How to restrict public user access to s3 buckets or minIO?

I have got a question about minio or s3 policy. I am using a stand-alone minio server for my project. Here is the situation :

1. How can i implement such policies for my project considering i have got my database for user authentication and how can i combine them to authenticate the user.

2. If not what other options do i have here to ease the process ?

Upvotes: 3

Views: 1348

Answers (1)

Majid Akbari
Majid Akbari

Reputation: 300

Communicate with your storage through the application. Do policy checks, authentication or authorization in the app and store/grab files to/from storage and make the proper response. I guess this is the only way you can have limitation on uploading/downloading files using Minio. If you're using a framework like Laravel built in S3 driver works perfectly with Minio; Otherwise it's just matter of a HTTP call. Minio provides HTTP APIs.

Upvotes: 1

Related Questions