Title: B2 Private Files
Author: Darwin Biler
Published: <strong>2022년 8월 18일</strong>
Last modified: 2022년 8월 18일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/b2-private-files.svg)

# B2 Private Files

 작성자: [Darwin Biler](https://profiles.wordpress.org/darwinbiler/)

[다운로드](https://downloads.wordpress.org/plugin/b2-private-files.zip)

 * [세부사항](https://ko.wordpress.org/plugins/b2-private-files/#description)
 * [평가](https://ko.wordpress.org/plugins/b2-private-files/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/b2-private-files/#installation)
 * [개발](https://ko.wordpress.org/plugins/b2-private-files/#developers)

 [지원](https://wordpress.org/support/plugin/b2-private-files/)

## 설명

If you have a digital products (downloadable pdf, mp3, mp4 etc) that is supposedly
being accessed by registered/paying users, uploading them into the standard media
library have problems:

 * the files in `wp-content/uploads` is publicly accessible, and anyone can basically
   download the file directly there
 * huge files like movies or software installers will weigh your entire website 
   down (specially when multiple users is gonna be downloading them)

This plugin allows you to securely share files to your website users by passing 
a token to the url. For example, here is a file hosted in B2 Backblaze

https://f001.backblazeb2.com/file/wp-b2-private-files/key.jpg?Authorization=4_0018c3b251e15120000000012_01a459bb_2f35e1_acct_QGJ-
TljNx-NqgRLi1dff_XGJjlQ=

note that simply accessing `https://f001.backblazeb2.com/file/wp-b2-private-files/
key.jpg` wont work, as the file is token-protected.
 the plugin generates the value
for `Authorization` parameter when your post/page is rendered. The token can be 
only generated from your website, thus its impossible for any other site to crawl
your site and scrape the files.

Each token generated can be also configured to expire after N minutes. So if lets
say you generated a download link to a big installer, people cant re-use the same
link and paste it in public forums, chats etc.
 Because the link will expire after
few minutes, which makes it hard for user to share file to non-registered users.

### Usage

 1. Go to Media > Add New (Private)
 2. Upload any file
 3. Go to Media > Library (Private)
 4. Click “Shortcode” for the file you just uploaded
 5. Paste the shortcode anywhere you wanted to show the link

Generally the shortcode looks like this:

[b2-private-file-button filename=”my-installer.zip”]

the above shortcode will generate a button with caption “Download”, pointing to 
the Backblaze B2 file with token passed to it.

## 설치

Get started by following these steps:

 1. Upload `b2-private-files.zip` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to https://www.backblaze.com/b2/sign-up.html and signup for a BackBlaze B2 account
 4. Create a new Bucket, make sure it is a private one.
 5. Create a new app key, in Account > App Keys > Add a New Application Key
 6. In your Wordress Admin, go to Settings > B2 Private Files
 7. Fill up the Account ID / Key ID, Application Key, Bucket ID, Bucket Name

## FAQ

### Can I upload file in B2 directly?

Yes, you dont need to upload the file via WordPress admin. You can use any client
to upload large file into B2.
 The plugin will detect those and generate download
link for you.

### Can i use this as an alternative to CDN?

Its possible, but its not optimized for that use-case. As the files token is being
calculated on the fly.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“B2 Private Files”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ Darwin Biler ](https://profiles.wordpress.org/darwinbiler/)

[자국어로 “B2 Private Files”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/b2-private-files)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/b2-private-files/)는,
[SVN 저장소](https://plugins.svn.wordpress.org/b2-private-files/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/b2-private-files/)을 [RSS](https://plugins.trac.wordpress.org/log/b2-private-files/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0.2

 * plugin submission requirements / fixes

#### 1.0.1

 * plugin submission requirements / fixes
 * fix bug wherein error message is not showing after upload to b2

#### 1.0.0

 * ability to configure B2 settings
 * ability to upload files to B2.
 * ability to render button shortcode
 * ability to manage files in B2 (delete and list)

## 기초

 *  버전 **1.0.2**
 *  최근 업데이트: **4년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 3.0.1 또는 그 이상 **
 *  다음까지 시험됨: **6.0.16**
 *  언어
 * [English (US)](https://wordpress.org/plugins/b2-private-files/)
 * 태그:
 * [download](https://ko.wordpress.org/plugins/tags/download/)[media library](https://ko.wordpress.org/plugins/tags/media-library/)
   [premium content](https://ko.wordpress.org/plugins/tags/premium-content/)
 *  [고급 보기](https://ko.wordpress.org/plugins/b2-private-files/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/b2-private-files/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/b2-private-files/reviews/)

## 기여자

 *   [ Darwin Biler ](https://profiles.wordpress.org/darwinbiler/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/b2-private-files/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://www.buymeacoffee.com/kt7vrlS6F)