Excel のワークブックにおけるデジタル署名とコード署名 – Microsoft 365 アプリ

Microsoft Excel 2003およびそれ以降のバージョンでは、ワークブックやマクロプロジェクトにデジタル署名を追加できます。デジタル証明書は、ファイルが信頼できるソースからのもので、改ざんされていないことを保証します。デジタル署名は、公開証明書とプライベート鍵で暗号化された署名データの値から成り立っています。署名されたワークブックは表示・編集できますが、変更すると署名が無効になります。Excel 2002以前のバージョンはデジタル署名を認識しません。デジタル署名を取得するには、商業認証機関からの証明書が必要です。

Excelにおけるデジタル署名の重要性

マイクロソフトオフィスExcel 2003以降のバージョンにおいて、ワークブックやマクロプロジェクトにデジタル署名を付けることができる機能は、データの改ざんを防ぎ、信頼性を高める重要な手段です。この機能を使うことで、自分が最後に行った変更を証明することができます。

デジタル証明書とは?

デジタル証明書と署名は、使用しようとしているファイルが信頼できるソースからのものであることを保証します。これは、ファイルが改ざんされていないことを証明するための重要な要素です。デジタル証明書とは、ファイルが持つIDです。署名を確認するために認証機関がファイルの作成者に関する情報を検証し、その後でデジタル証明書を発行します。

デジタル署名とは?

Excelは、ワークブックの内容にデジタル署名を使用して、ワークブックが署名された後に変更されていないことを保証します。また、デジタル署名は、信頼できるソースから作成されたワークブックやマクロを、望ましくないまたは有害なワークブックやマクロコード(ウイルスなど)から区別するのに役立ちます。

デジタル署名は、公開証明書と、プライベートキーによって暗号化された署名データの値から成り立っています。この値は、署名するデータのために生成された数値です。この暗号化アルゴリズムは、データを変更することなく結果の値を変更することがほぼ不可能です。

デジタル署名を使用した場合の影響

デジタル署名を利用すると、他のユーザーはそのファイルを表示できますが、署名されたワークブックを修正して保存することはできません。例えば、ファイルに署名をした場合、そのファイルがあなたから送信されたものであり、変更されていないことがわかります。

どのExcelファイルにデジタル署名ができるか?

Excelのワークブックやテンプレートに対してデジタル署名を行うことができますが、Microsoft Excel 2002よりも前のバージョンはデジタル署名を認識しません。また、共有ワークブックにデジタル署名を行うことはできません。これは、複数のユーザーがワークブックを変更できるためです。

デジタル署名を取得するには?

デジタル署名を取得するためには、まずデジタル証明書が必要です。商業の認証機関からデジタル証明書やコード署名IDを取得するか、内部のセキュリティ管理者またはITプロフェッショナルから取得することができます。

ワークブックにデジタル署名を追加する方法

Microsoft Office Excel 2007の場合

  1. Microsoft Officeボタンをクリックし、準備を選んで、デジタル署名の追加をクリックします。
  2. 保存されていない変更があれば保存を促されます。
  3. Microsoft Office Excelワークブックとして保存します。
  4. デジタルIDの種類を選択してOKをクリックします。

Excel 2003の場合

  1. ツールメニューからオプションを選択します。
  2. セキュリティタブでデジタル署名を選択し、追加をクリックします。
  3. 保存されていなければ、ファイルを保存するよう促されます。
  4. デジタル証明書を選択してOKをクリックします。

まとめ

Excelにおけるデジタル署名は、データの誠実性と信頼性を確保するための有用な方法です。このプロセスを理解し、適切に利用することで、ワークブックの安全を守ることができます。デジタル署名に関するさらなる情報は、Microsoftの公式サイトをご覧ください。

————-

Digital signatures and code signing in workbooks in Excel – Microsoft 365 Apps

Source link

The article discusses the process of digitally signing Excel workbooks and VBA macro projects in Microsoft Excel 2003 and later versions, including Excel 2007. Digital signatures help ensure that a workbook or macro project has not been modified since it was last signed and confirm the identity of the individual making the changes.

Key Points:

  1. Digital Certificates:

    • A digital certificate acts as an ID for files, which assures users of their reliability and integrity. It is validated by a certifying authority, and when used to sign a file, it indicates the file’s creator and authenticity.
  2. Digital Signatures:

    • A digital signature combines a public certificate and a value encrypted with a private key, enabling users to verify that the file has not been tampered with.
  3. Digital Signing Process:

    • Users can view signed workbooks but cannot save changes without invalidating the signature. Users can sign either a workbook for content verification or code sign a VBA macro project.
  4. Requirements:

    • Excel workbooks or templates can be signed, but earlier versions than Excel 2002 do not recognize digital signatures. Shared workbooks cannot retain a digital signature due to collaborative editing.
  5. Obtaining a Digital Signature:

    • Digital certificates can be acquired from a commercial certification authority or internal IT departments, or generated using Microsoft’s SelfCert.exe tool for personal use.
  6. Steps to Sign a Workbook:

    • Instructions are provided for adding a digital signature in Excel 2007 and Excel 2003, emphasizing that the workbook must be saved in a compatible format before signing.
  7. Verification:
    • After signing, users can verify the integrity of the workbook through the Signatures task pane to ensure no changes were made post-signing.

This article serves as a guideline for users looking to implement digital signatures in their Excel workbooks and macro projects, ensuring data integrity and authenticity.

関連記事

コメント

この記事へのコメントはありません。