用到云存储,自然要考虑验证、识别访问者信息和防盗链措施。BCS 的URL 签名可以验证及识别访问者的身份,可通过put_acl 接口在policy 中进行相关设置即可防盗链。
URL 签名里有一个time 参数对一些资源下载功能很重要,如可限制过期时间。
URL 签名文档 http://developer.baidu.com/wiki/index.php?title=docs/cplat/stor/access/signed-url
put_acl 的文档 http://developer.baidu.com/wiki/index.php?title=docs/cplat/stor/api/acl