Microsoft Word에서 그림을 이동하는 방법
워드에서 그림을 드래그하여 이동하는 방법, 텍스트 줄 바꿈을 선택하는 방법, 단락에 그림을 함께 배치하거나 페이지에 고정하는 방법, 그리고 이동하지 않는 이미지를 해결하는 방법을 알아보세요.
ONLYOFFICE JWT authentication works only when the Document Server and the integrating application use the same secret key. On current Docker deployments, JWT validation is enabled by default. For a stable integration, set your own persistent JWT_SECRET instead of relying on the container's automatically generated value, then configure the same secret in Nextcloud, your custom document manager, or whichever connector talks to ONLYOFFICE Docs.
This practical reference focuses on the configuration you are most likely to need: Docker and Docker Compose, custom integrations that sign editor configuration, header/body behavior, verification, rotation, and common errors. It is based on current ONLYOFFICE documentation checked in October 2026.
| Setting | Typical Docker value | Purpose |
|---|---|---|
JWT_ENABLED | true | Enables JWT validation. Current Docker images default to enabled. |
JWT_SECRET | A strong private random value | Shared HMAC secret used to sign and validate tokens. |
JWT_HEADER | Authorization | Header name used for JWT-bearing HTTP requests. |
JWT_IN_BODY | false by default | Controls token validation in request bodies for supported HTTP requests. |
| Signing algorithm | HS256 | Algorithm used by ONLYOFFICE's official signature examples. |
Starting with ONLYOFFICE Docs 7.2, Docker deployments enable JWT by default and generate a random secret when you do not supply one. The official Docker documentation warns that an automatically generated secret can change after a reboot or container recreation and break integrations. Set an explicit secret for any real deployment. See Configuring JWT for ONLYOFFICE Docs and the official Docker installation guide.

For a Docker host, start with:
docker ps --format 'table {{.Names}}\t{{.Image}}\t{{.Status}}'
docker images | grep onlyoffice
Determine whether the instance was launched with docker run, Docker Compose, a control panel, or another orchestration layer. You need to change the source configuration that creates the container. Editing a generated file inside the container is not the persistent solution.
For Docker specifically, ONLYOFFICE tells administrators to use environment variables rather than manually editing /etc/onlyoffice/documentserver/local.json. If you edit JWT values directly in that file, the Docker startup process can restore or regenerate them when the container restarts.

A convenient shell command is:
openssl rand -hex 32
This produces 32 random bytes represented as 64 hexadecimal characters. ONLYOFFICE does not require this exact format; the important requirement is that both sides share the same secret and that it is difficult to guess.
Treat JWT_SECRET like a password or API credential:
ONLYOFFICE's signature documentation explicitly warns that token signing must happen on the server because any browser-side code that contains the secret exposes it to users. The official examples use HMAC-SHA256 (HS256). See ONLYOFFICE JWT signature documentation.

A minimal Compose service can include:
services:
documentserver:
image: onlyoffice/documentserver:latest
restart: unless-stopped
environment:
JWT_ENABLED: "true"
JWT_SECRET: "${ONLYOFFICE_JWT_SECRET}"
JWT_HEADER: "Authorization"
JWT_IN_BODY: "false"
ports:
- "8080:80"
Keep the actual secret outside the Compose file when practical. For example, put it in a permission-restricted .env file:
ONLYOFFICE_JWT_SECRET=replace_with_your_random_secret
Then ensure that file is excluded from version control and readable only by the administrators or service account that needs it.
The official ONLYOFFICE Docker-DocumentServer repository documents JWT_ENABLED, JWT_SECRET, JWT_HEADER, and JWT_IN_BODY. Current Docker startup code defaults JWT validation to enabled, uses Authorization as the default header, and generates a random secret when an explicit one is not supplied.

For Compose:
docker compose up -d --force-recreate
docker compose ps
For a container originally created with docker run, the official JWT guide instructs administrators to stop and remove the old container, then create a new one with the JWT environment variables. Do not remove persistent volumes or bind-mounted data while doing this.
You can also inspect the running container's environment without printing the secret itself:
docker inspect onlyoffice-documentserver \
--format '{{range .Config.Env}}{{println .}}{{end}}' \
| grep '^JWT_' \
| sed 's/^JWT_SECRET=.*/JWT_SECRET=[REDACTED]/'
If the container name differs, replace onlyoffice-documentserver accordingly.
This is the part most often missed. Enabling JWT on ONLYOFFICE Docs without configuring the document-management side causes rejected editor requests. The connector or custom application must sign requests with exactly the same secret.
In the ONLYOFFICE settings for Nextcloud, enter the same secret key used by the Document Server. The header name must also match. ONLYOFFICE's current Nextcloud integration documentation lists jwt_secret and jwt_header as connector settings, with Authorization as the normal default header. See the official Nextcloud connector documentation.
커넥터에 "비밀 키", "JWT 비밀" 또는 이와 유사한 레이블이 있는 필드가 있는 경우, 해당 필드에 별도의 비밀 키를 생성하지 마십시오. 기존 비밀 키 값을 그대로 복사하십시오.

사용자 지정 애플리케이션의 경우 먼저 편집기 구성을 빌드하고 백엔드에서 해당 구성에 서명한 다음 생성된 JWT를 최상위 token속성에 할당합니다.
Node.js 예시:
import jwt from "jsonwebtoken";
const config = {
documentType: "word",
document: {
fileType: "docx",
key: "document-2026-001",
title: "Project Plan.docx",
url: "https://files.example.com/project-plan.docx"
},
editorConfig: {
callbackUrl: "https://app.example.com/onlyoffice/callback"
}
};
config.token = jwt.sign(config, process.env.ONLYOFFICE_JWT_SECRET, {
algorithm: "HS256"
});
ONLYOFFICE의 브라우저 서명 관련 문서에 따르면 파일을 열기 위한 토큰 페이로드는 편집기 구성과 동일한 구조를 가져야 합니다. 버전 7.1부터 유효성 검사에 사용되는 매개변수 집합이 이 작업에 대해 엄격하게 규제되므로, 오래되었거나 불완전한 구조에 서명하는 것은 실패의 일반적인 원인입니다. 브라우저 토큰 서명을 참조하십시오 .
결과적으로 전달되는 구성에는 DocsAPI.DocEditor토큰이 포함됩니다.
new DocsAPI.DocEditor("placeholder", config);
공식 API 참조에서는 config.tokenONLYOFFICE Docs가 편집기 구성을 검증하는 데 사용하는 암호화된 서명을 다음과 같이 정의합니다.
ONLYOFFICE에서 JWT는 브라우저 편집기 설정뿐만 아니라 명령, 변환 및 콜백 트래픽과 같은 서비스 간 요청에도 사용됩니다.
| 교통 | 토큰이 사용되는 곳 | 핵심 사항 |
|---|---|---|
| 브라우저 편집기 초기화 | config.token | 토큰 페이로드는 서명된 에디터 구성과 일치해야 합니다. |
| 수신되는 서비스 요청 | 본문 또는 헤더 | POST 요청의 경우, 본문 토큰을 사용하면 HTTP 헤더 크기 제한을 피할 수 있습니다. |
| GET 요청 | 헤더 | GET 요청에는 본문 토큰이 적용되지 않습니다. |
| 발신 콜백 | 설정에 따른 본문/헤더 | 연동 시 공유 비밀 키를 사용하여 토큰의 유효성을 검사해야 합니다. |
ONLYOFFICE는 요청 토큰을 본문과 헤더 모두에 지원합니다. 보안 FAQ에 따르면 헤더는 서버별 길이 제한에 걸릴 수 있으므로 수신 요청에는 본문 토큰을 사용하는 것이 좋습니다. 문서 7.1부터는 수신 본문 토큰이 있는 경우 우선적으로 사용되며, 그렇지 않은 경우 헤더 토큰이 사용됩니다. 발신 측에서는 본문 토큰과 헤더 토큰을 모두 전송할 수 있습니다. 자세한 내용은 ONLYOFFICE 요청 토큰 문서를 참조하십시오 .
Docker 변수의 JWT_IN_BODY기본값은 이므로 false, 단순히 존재한다는 이유만으로 활성화하지 마십시오. 통합 기능이 본문 토큰을 일관되게 전송하고 검증하도록 설계된 경우에만 이 변수를 변경하십시오.

유용한 검증 순서는 다음과 같습니다.
문서 서버 환영 페이지가 성공적으로 표시된다고 해서 두 애플리케이션 간에 JWT가 올바르게 구성되었다는 것을 의미하지는 않습니다 . JWT 오류는 통합 과정에서 편집기 구성, 명령, 변환 요청 또는 콜백을 전송할 때만 나타나는 경우가 많습니다.
공식 보안 개요에서는 예상되는 동작을 설명합니다. ONLYOFFICE는 토큰을 검증하고 서명된 페이로드 값을 사용합니다. 검증이 필요한 시점에 토큰이 없거나 유효하지 않으면 요청이 거부됩니다. 자세한 내용은 ONLYOFFICE 문서의 보안 개요를 참조하십시오 .

현재 Docker 시작 코드는 관리자에게 JWT 상태 도우미를 안내합니다. 올바른 컨테이너 이름을 사용하여 다음 명령을 실행하세요.
docker exec onlyoffice-documentserver \
sudo documentserver-jwt-status.sh
로그를 확인할 수도 있습니다.
docker logs --tail 200 onlyoffice-documentserver
docker exec onlyoffice-documentserver \
find /var/log/onlyoffice/documentserver -type f -maxdepth 3 -print
비밀 키를 변경한 직후 통합이 실패하는 경우 다음 항목들을 순서대로 비교하십시오.
JWT_ENABLED재생성된 컨테이너에서 실제로 활성화되어 있습니까 ?가장 가능성이 높은 원인은 비밀 키 불일치 또는 유효성 검사를 수행하는 요청과 다른 페이로드로 서명된 토큰입니다. 관련 설정을 변경한 후에는 토큰을 다시 생성하십시오. 문서에 있는 예제 토큰을 재사용하지 마십시오. 해당 예제 토큰은 데모용 비밀 키로 서명되었으며 서버에서 유효하지 않습니다.
이는 일반적으로 배포가 자동으로 생성된 JWT 비밀 키에 의존하고 있음을 의미합니다. ONLYOFFICE는 재부팅 또는 컨테이너 재구축 후 임의의 비밀 키가 다시 생성될 수 있음을 명시적으로 경고합니다. 비밀 키를 JWT_SECRET직접 설정하고 통합에 동일한 값을 입력하십시오.
먼저 양쪽의 비밀 키와 헤더를 확인하세요. ONLYOFFICE의 Nextcloud 문서에서는 커넥터의 헤더가 jwt_headerDocument Server에 구성된 헤더와 일치해야 한다고 명시하고 있습니다. 현재 기본값은 다음과 같습니다 Authorization.
프록시 또는 웹 서버의 헤더 크기 제한을 초과하는 헤더에 JWT가 전송되는지 조사하십시오. ONLYOFFICE의 보안 FAQ에 따르면 이것이 해당 POST 요청에 본문 토큰을 사용하는 것이 더 바람직한 이유 중 하나입니다.
JWT 비밀 키 교체는 반드시 조정되어야 합니다. 커넥터가 이전 비밀 키로 계속 서명하는 동안 문서 서버만 변경하는 것은 아무런 이점이 없습니다.
간단한 단일 인스턴스 배포의 경우:
JWT_SECRET하나의 통합된 변경 사항으로 업데이트하십시오.로드 밸런서 뒤에 여러 Document Server 인스턴스가 있는 경우, 동일한 통합 서비스를 제공하는 모든 인스턴스는 변경 시 호환 가능한 JWT 구성을 갖춰야 합니다. 즉흥적으로 노드를 하나씩 교체하는 대신, 배포 계획을 수립하십시오.
JWT_SECRET. 임의로 생성된 값에 의존하지 마십시오.Docker 기반 ONLYOFFICE 설치의 경우, 안정적인 구성은 간단합니다. 강력한 비밀 키를 생성하고, 컨테이너 환경 변수를 통해 설정한 다음 JWT_ENABLED=true, JWT_SECRET컨테이너를 다시 생성하고 커넥터 또는 백엔드에 동일한 비밀 키를 구성하면 됩니다. 사용자 지정 통합은 브라우저 코드가 아닌 서버에서 HS256으로 편집기 구성 및 서비스 요청에 서명해야 합니다.
JWT가 재시작 후 갑자기 작동하지 않는 경우, 비밀 키가 영구적으로 저장되었는지 확인하십시오. 구성 변경 직후에 오류가 발생하는 경우, 다른 부분을 확인하기 전에 비밀 키, 헤더 및 서명된 페이로드를 비교하십시오. 이 세 가지 검사를 통해 인증 수준을 낮추지 않고 대부분의 JWT 설정 오류를 해결할 수 있습니다.
워드에서 그림을 드래그하여 이동하는 방법, 텍스트 줄 바꿈을 선택하는 방법, 단락에 그림을 함께 배치하거나 페이지에 고정하는 방법, 그리고 이동하지 않는 이미지를 해결하는 방법을 알아보세요.
셀 내 도구를 사용하여 Excel에 확인란을 삽입하는 방법, 수식을 사용하여 선택된 항목 수를 계산하는 방법, 또는 이전 데스크톱 버전에서 연결된 폼 컨트롤을 추가하는 방법을 알아보세요.
Excel에서 채우기 핸들 함수, SEQUENCE 함수 또는 재사용 가능한 사용자 지정 목록을 사용하여 A부터 Z까지의 소문자 또는 Z를 초과하는 레이블을 생성할 수 있습니다.
Windows, Mac 및 웹에서 Excel을 사용하여 셀에 취소선을 긋고, 셀의 일부 서식을 지정하고, 값을 삭제하지 않고 줄을 제거하는 방법을 알아보세요.
Microsoft Access는 관련 레코드를 저장하고, 쿼리를 작성하고, 데이터 입력 양식을 만들고, 보고서를 생성하는 데 사용할 수 있는 Windows 데이터베이스 응용 프로그램입니다. Access의 작동 방식과 적합한 사용 사례를 알아보세요.
Word 2010에서 격자선 높이와 너비를 조정하고, 표시되는 선의 빈도를 변경하고, 기본 가로 및 세로 그리기 격자 간격을 설정하는 방법을 알아보세요.
Outlook 2010으로 PST 파일을 가져오거나 메일, 연락처, 일정 및 작업을 내보내는 방법을 알아보세요. 올바른 메뉴를 따라가면 폴더 누락이나 중복을 방지할 수 있습니다.
Kernel에서 제공하는 최신 단계를 따라 잊어버린 Outlook PST 암호를 복구하세요. 여기에는 올바른 파일을 식별하는 방법, 백업을 만드는 방법, 도구의 한계를 확인하는 방법이 포함됩니다.
LiveWeb 추가 기능을 사용하여 PowerPoint 슬라이드에 웹사이트를 배치하고, 크기와 새로 고침 동작을 설정하고, 발표 전에 호환성을 확인할 수 있습니다.
Access 2010 데이터베이스 응용 프로그램을 데이터 입력 양식으로 바로 열도록 설정하고, 개체 목록을 숨기고, 메뉴를 제한하고, 공유하기 전에 설정을 확인합니다.