该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

S3 Secure URL

描述

Create temporary links to files which are stored in Amazon S3 service using simple shortcode.

Shortcode builder also available (see screenshots).

Read the detailed guide which describes how to use this plugin.

Shortcode usage

Wrap text (‘Download Now’) in the link (a-tag):

[s3secureurl bucket='bucket-name' target='/path/to/file.ext' expires='5']Download Now[/s3secureurl]

Output: Download

Display the raw link as text:

[s3secureurl bucket='bucket-name' target='/path/to/file.ext' expires='5' /]

Output: http://example.com/secure-url

安装

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘s3-secure-url’ or for ‘S3 Secure URL’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select s3-secure-url.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download s3-secure-url.zip
  2. Extract the s3-secure-url directory to your computer
  3. Upload the s3-secure-url directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

常见问题

What do I need to get started?

You need an Amazon Web Services (AWS) account and the AWS Access Key and AWS Secret Key

What are benefits of this plugin?

You can use this plugin to share or sell files on your website.
Read the detailed guide which describes how to use this plugin.

评价

2016 年 11 月 23 日
Great plug-in. I’m setting up a paywalled website for teachers with a lot of large PDFs and Powerpoints that I’m storing on AWS. They obviously need to be private URLs, but I couldn’t figure out where to start with signing a private URL even after reading all of this: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls.html#private-content-how-signed-urls-work. But Max’s great plug-in (and quick response to my newbie query) are perfect: • connect up to AWS using your IAM key and the only two fields in the simple config • wrap a shortcode round your link text, with the name of your S3 bucket and the path • plug-in generate a temporary link on each page load, so if the user’s logged-in on a role-protected page, only they will be able to generate signed links. Simples. Not that I could do it myself, tho, of course.
阅读所有1条评价

贡献者及开发者

“S3 Secure URL” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“S3 Secure URL”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release