jlcool / aliossflutter

阿里云oss flutter
Apache License 2.0
76 stars 47 forks source link

前后端应该分离,Accesskey不应该保存在前端 #39

Closed DingXuefeng closed 3 years ago

DingXuefeng commented 3 years ago

STS的key和secret应该保存在后端,由前端以http形式向后端请求token。前端拿到token之后再向oss服务器发送上传/下载请求。flutter作为前段,应该只保留这几个功能: