Title: Token Access
Author: Anthony
Published: <strong>2010 年 8 月 17 日</strong>
Last modified: 2025 年 7 月 3 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/token-access.svg)

# Token Access

 作者：[Anthony](https://profiles.wordpress.org/ajferg/)

[下载](https://downloads.wordpress.org/plugin/token-access.1.8.2.zip)

 * [详情](https://cn.wordpress.org/plugins/token-access/#description)
 * [评价](https://cn.wordpress.org/plugins/token-access/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/token-access/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/token-access/#developers)

 [支持](https://wordpress.org/support/plugin/token-access/)

## 描述

This plugin will limit access to the site. Only visitors with a cookie token will
be able to access the public website. Visitors without the cookie will see a “coming
soon” style of page.

You can customise the “coming soon” content, and you can change the way tokens work.
Visit yoursite.com/?add_token to receive the token allowing you to see the site.
To remove the limited access, simply disable this plugin.

By default, the token is “letmein”. So use these links:
 site.com?letmein site.com?
takemeoff

This plugin is useful when you’re developing your site. You can work on your live
web server without having your site open to the public.

## 安装

 1. Upload plugin to your wordpress installation plugin directory
 2. Activate plugin through the `Plugins` menu in WordPress
 3. Look at the configuration screen (found under `Tools` in the WordPress menu)
 4. You can change settings or customise your ‘coming soon’ content here.

## 评价

![](https://secure.gravatar.com/avatar/68a8d0f56b19c3a30a3f88119aa15995b0b1f2e0839c02274c84f628abf066cd?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-4770/)󠁿

 [brewgle](https://profiles.wordpress.org/brewgle/) 2018 年 3 月 9 日

We wanted a way to secure a support site for users of a paid site. The paid site
is on a different platform (not WP). We weren’t looking for iron clad security, 
just want to keep prying eyes out. At first we thought we’d have to do some sort
of database mind meld. Then I stumbled across this plugin. Now we set all support
links to include a specific string at the end, and blamo, they get into the support
site. If you go to the site without the string, you get a custimizable page. This
was the solution for which we were looking.

![](https://secure.gravatar.com/avatar/0eee89883aa39216a1148819d3aaedf60759a3df677e9322b0c19c3813ba0776?
s=60&d=retro&r=g)

### 󠀁[Useful plugin for restricting website access via token](https://wordpress.org/support/topic/useful-plugin-for-restricting-website-access-via-token/)󠁿

 [Anonymous User 13302461](https://profiles.wordpress.org/anonymized-13302461/) 
2016 年 9 月 3 日

I wanted to have links on Site A (authorised members only site) to send people to
Site B and allow them access to it. Without unauthorised people being able to go
direct to Site B and having access. OK so a member of Site A could get the most 
current token and give it to friends but, I’m sure I could run a con job to update
the URL token on the private page on Site A and also in the Mysql database on Site
B or something. Good plugin. Took me a while to find a solution so some keywords
to help others find this: Allow cross domain access to website secure token authorisation

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/token-access/reviews/)

## 贡献者及开发者

「Token Access」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Anthony ](https://profiles.wordpress.org/ajferg/)

[帮助将「Token Access」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/token-access)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/token-access/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/token-access/)，或通过[RSS](https://plugins.trac.wordpress.org/log/token-access/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/token-access/)。

## 更新日志

#### 1.8.2

 * Fix error with ?letmein operation

#### 1.8.1

 * Version bump for build process

#### 1.8.0

 * Refactor plugin and check compatibility with latest WP

#### 1.7.1

 * Fix: It was showing the placeholder on the wp-login.php page too.

#### 1.7.0

 * Rewrote plugin to meet code standards.
 * Now stores custom placeholder in options table, instead of writing to a file 
   that will be overwritten when the plugin updates.
 * Using the proper WP Settings API to manage options.

#### 1.6.3

 * Updating versions & changelog
 * Better wp-cli compatibility

#### 1.4.0

 * Overhaul for better use of WP functions, and more acceptable CSS rules.
 * Compatible with WordPress 4.4

#### 1.2.0

 * Initial public release.

## 额外信息

 *  版本 **1.8.2**
 *  最后更新：**10 月前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/token-access/)
 * 标签
 * [access](https://cn.wordpress.org/plugins/tags/access/)[cookie](https://cn.wordpress.org/plugins/tags/cookie/)
   [private](https://cn.wordpress.org/plugins/tags/private/)[public](https://cn.wordpress.org/plugins/tags/public/)
   [whitelist](https://cn.wordpress.org/plugins/tags/whitelist/)
 *  [高级视图](https://cn.wordpress.org/plugins/token-access/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/token-access/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/token-access/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/token-access/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/token-access/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/token-access/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/token-access/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/token-access/reviews/)

## 贡献者

 *   [ Anthony ](https://profiles.wordpress.org/ajferg/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/token-access/)