none
Password to modify (Word 97-2003) RRS feed

  • Question

  • It seems, that there is difference between specification and implementation, regarding document protection in Word 97-2003.

    Neither fProtEnabled nor lKeyProtDoc are used and password to modify appears in clear form in the document just after associated string table.

    What is the correct way of detecting if user should be asked for password to modify and where exactly is password stored?
    Tuesday, July 8, 2008 12:20 PM

Answers

  • That is correct. fWriteReservation is a 1 bit flag indicating the presence of the write-reservation password. The write-reservation password is string 18 of 18 in the STTB. The password in the STTB must be less than or equal to 15 characters.

    Steve Smegner
    Application Development Consulting Group
    • Marked as answer by Steve Smegner Friday, July 18, 2008 6:17 AM
    Friday, July 18, 2008 6:17 AM

All replies

  • Thank you for your post.

    I am researching your question and will advise.

    Take care,
    Steve
    Wednesday, July 9, 2008 8:58 PM
  • to  answer my own question ... seems, that only relevant info for deciding if file is modify password protected is stored in FIB fWriteReservation...

    ...and password is stored as the last string in associated string table (ibstAssocMax).

    Could someone from MS please confirm, that this is the correct answer?
    • Edited by _00_ Friday, July 11, 2008 1:50 PM Update
    Thursday, July 10, 2008 7:33 PM
  • That is correct. fWriteReservation is a 1 bit flag indicating the presence of the write-reservation password. The write-reservation password is string 18 of 18 in the STTB. The password in the STTB must be less than or equal to 15 characters.

    Steve Smegner
    Application Development Consulting Group
    • Marked as answer by Steve Smegner Friday, July 18, 2008 6:17 AM
    Friday, July 18, 2008 6:17 AM