Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/variables/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Authentication 在etherpad lite中应用身份验证_Authentication_Etherpad - Fatal编程技术网

Authentication 在etherpad lite中应用身份验证

Authentication 在etherpad lite中应用身份验证,authentication,etherpad,Authentication,Etherpad,我们如何防止公众访问etherpad lite Pad。我们有没有办法阻止未经授权访问Etherpad。只有具有用户名和密码的用户才能访问PAD 我在windows上使用etherpad lite。 谢谢。您必须在etherpad的settings.json中进行配置。原始配置有很好的文档记录 以下是您应该注意的配置部分 /* Users must have a session to access pads. This effectively allows only group pads t

我们如何防止公众访问etherpad lite Pad。我们有没有办法阻止未经授权访问Etherpad。只有具有用户名和密码的用户才能访问PAD

我在windows上使用etherpad lite。
谢谢。

您必须在etherpad的settings.json中进行配置。原始配置有很好的文档记录

以下是您应该注意的配置部分

  /* Users must have a session to access pads. This effectively allows only group pads to be accessed. */
  "requireSession" : true,

  /* Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads. */
  "editOnly" : false,

  /* How long may clients use served javascript code (in seconds)? Without versioning this
     may cause problems during deployment. Set to 0 to disable caching */
  "maxAge" : 21600, // 60 * 60 * 6 = 6 hours

  /* This is the path to the Abiword executable. Setting it to null, disables abiword.
     Abiword is needed to advanced import/export features of pads*/  
  "abiword" : null,

  /* This setting is used if you require authentication of all users.
     Note: /admin always requires authentication. */
  "requireAuthentication": true,

  /* Require authorization by a module, or a user with is_admin set, see below. */
  "requireAuthorization": true,

  /* Users for basic authentication. is_admin = true gives access to /admin.
     If you do not uncomment this, /admin will not be available! */
  /*
  "users": {
    "admin": {
      "password": "changeme1",
      "is_admin": true
    },
    "user": {
      "password": "changeme1",
      "is_admin": false
    }
  },
  */
因此,如果我设置了
“requireAuthentication”:true
,我可以共享我的pad吗?