2012-09-13 4 views
5

어떻게 etherpad 라이트 패드를 공개적으로 액세스하지 못하게 할 수 있습니까? 우리가 이더넷 패드에 대한 무단 액세스를 막을 수있는 방법이 있습니까? 사용자 이름과 암호가있는 사용자 만 패드에 액세스 할 수 있어야합니다.etherpad lite에 인증 적용

저는 Windows에서 etherpad lite를 사용하고 있습니다. 감사합니다. .

답변

5

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 
    } 
    }, 
    */ 
+0

그래서 "requireAuthentication"을 true로 설정하면 패드를 공유 할 수 있습니까? –