Open zhaojingbo918 opened 4 years ago
如何在服务端生成postPolicy,调用OssClient上传文件? 把accessKeyId写在客户端的代码里不太安全
static string accessKeyId = Config.AccessKeyId; static string accessKeySecret = Config.AccessKeySecret; static string endpoint = Config.Endpoint; static OssClient client = new OssClient(endpoint, accessKeyId, accessKeySecret);
我觉得安全的关键是accessKeySecret吧
如何在服务端生成postPolicy,调用OssClient上传文件? 把accessKeyId写在客户端的代码里不太安全