Skip to Content
Neo4j: The Definitive Guide
book

Neo4j: The Definitive Guide

by Luanne Misquitta, Christophe Willemsen
July 2025
Intermediate to advanced
410 pages
6h 21m
Japanese
O'Reilly Media, Inc.
Content preview from Neo4j: The Definitive Guide

第6章 データベースのセキュリティ データベースを保護する

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

Neo4j(そして他のデータベースも同様)を保護することは、最も重要である。あなたのデータベースには、個人情報、財務情報、戦術情報など、ビジネスクリティカルでセンシティブなデータが含まれている可能性が高い。データ泥棒によるセキュリティ侵害は、あなたのビジネスの評判と安定性を損なう可能性のある情報を明らかにする可能性がある。Neo4jのセキュリティ確保は、通常、規制やコンプライアンス基準を満たすために必要であり、違反は法的な問責につながる可能性さえある。特にグラフ・データベースは、重要なパターンや洞察を明らかにする可能性がある。データの無許可または悪意のある改変は、誤解を招いたり、誤った予測や結果につながる可能性がある。

ヒント

セキュリティは常にNeo4jの最優先事項である。リリースノートを頻繁に参照し、この分野の最新機能を把握しておくことをお勧めする。

コンプライアンス・プロセスの一環として、ElectricHarmony社はセキュリティ専門家チームを招き、システムの脅威分析調査を実施した。彼らは、セキュリティ脅威を特定し緩和するための構造化されたフレームワークであるSTRIDE脅威評価モデル()を採用する。STRIDEとは、セキュリティの脅威を6つのカテゴリー(スプーフィング、改ざん、否認、情報漏えい、サービス拒否、特権の昇格)に分類したニーモニックである。この章は、このフレームワークに沿って構成され、それぞれのタイプの脅威を順番に評価する。あなたは、ElectricHarmonyのNeo4jデータベースチームを代表し、潜在的な脅威を特定し緩和するために、専門家と共に行動する。

スプーフィング

なりすましは、STRIDEモデルの最初の脅威カテゴリーである。攻撃者が正当なユーザ資格情報を使ってシステムに不正にアクセスする場合に発生する。

認証

データベースにアクセスする順序で、 ユーザのアイデンティティを確認することを認証(しばしば authと短縮される)と呼び出す。Neo4jは、カスタムプラグイン、LDAP(Lightweight Directory Access Protocol)、OktaやGoogleなどのサービスとのシングルサインオン(SSO)統合など、多くの認証プロバイダをサポートしている。Neo4jのデフォルトは、ネイティブの認証プロバイダー 、ユーザとロールの情報をシステムデータベースに保存する。私たちの経験では、本格的な企業デプロイでは、ほとんどの場合、LDAPやSSOなどの他のプロバイダーを優先してネイティブ認証プロバイダーを無効にしている。ネイティブ・プロバイダ、ひいてはネイティブ・ユーザを無効にするには、構成ファイルdbms.security.authentication_providersを変更し、好みのプロバイダにセットする。

ネイティブ認証プロバイダーを使用する

Neo4j を初めて起動する前に、ネイティブ・ユーザneo4j にパスワードをセットする必要がある。設定しないと、デフォルトのパスワードneo4j が使用され、初回ログイン時に変更するようプロンプトが表示される。ベスト・プラクティスは、Neo4jを起動する前に、neo4j-admin ツールのset-initial-password コマンドを使用して、このパスワードを自分でセットすることである。また、データベースへの初回ログイン時に、このパスワード ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Elasticsearch in Action, Second Edition

Elasticsearch in Action, Second Edition

Madhusudhan Konda
Fluent Python ―Pythonicな思考とコーディング手法

Fluent Python ―Pythonicな思考とコーディング手法

Luciano Ramalho, 豊沢 聡, 桑井 博之, 梶原 玲子

Publisher Resources

ISBN: 9798341664760