How can php upload to oss without going through its own server?

how does php upload to oss without going through its own server

Nov.29,2021

I have done Qiniu, but I have not done OSS. I think the principle is about the same.
1. Use JS to direct webuploader, etc.
2. Obtain TOKEN from your own backend server before uploading
3. JS notifies the backend CALLBACK record after transmission.


upload files to OSS, directly through a web form without going through your own server
Refer to this. http://bbs.aliyun.com/read/157585.html?spm=0.0.0.0.ZiT8dU

but it is not recommended to be so practical. Since html is an interpretive language, all the key data are exposed


http://bbs.aliyun.com/read/262307.html?spm=5176.bbsl211.0.0.8gmdkz refer to this.


the server signs directly and sets the upload callback.
refer to this Demo: https://help.aliyun.com/docum.

Menu