![]() |
MS-DEFCON 2:
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it.
|
-
LibreOffice Calc Removes Excel Spreadsheet Password Protection
Home › Forums › AskWoody support › Microsoft Office by version › Questions: Microsoft Office › LibreOffice Calc Removes Excel Spreadsheet Password Protection
- This topic has 8 replies, 5 voices, and was last updated 4 days, 11 hours ago.
Viewing 6 reply threads-
AuthorPosts
-
-
January 13, 2021 at 12:01 pm #2334067
Stroumg
AskWoody LoungerI don’t know if this is a “feature” or a “bug”.
I recently noticed that if I open a password protected Excel spreadsheet on a computer using LibreOffice Calc, I am required to enter the password – OK.
If I then “Save As” the file with a new title, this new spreadsheet copy can be re-opened in Calc without reentering the password. If I move the spreadsheet to a computer with only Microsoft Office, I can also open this “new” file in Excel without entering a password.
Is this the intended behavior? If it is, what is the point of password protecting a sensitive spreadsheet?
-
January 13, 2021 at 1:01 pm #2334102
-
January 13, 2021 at 4:21 pm #2334154
Stroumg
AskWoody LoungerI agree if I were saving an unprotected spreadsheet in either Excel or Calc. However as a user, I should be able to assume that if I have assigned a spreadsheet file the security-related attribute of “password protected”, then my action of later editing and saving the changed original with a different name would mean that the new file inherits the original file’s security attribute and will remain encrypted until I make an overt act to remove that attribute. My Excel operates in this manner.
My question is why can LO Calc, apparently by default, remove this attribute and allow an otherwise previously encrypted file to be saved as an un-encrypted file without my overtly removing that attribute?
The other side of my question is that in the overall hierarchy of file attributes, why does the Excel spreadsheet file structure allow this security attribute to be changed without similar user action in another vendor’s spreadsheet program? For many users, the integrity of the file security setting is kind of a biggie.
-
January 13, 2021 at 4:55 pm #2334173
-
January 13, 2021 at 6:05 pm #2334186
Stroumg
AskWoody LoungerI guess that’s a valid opinion if LO never expects to be taken seriously as a business or enterprise tool. In today’s world, people must take security seriously. Any modern software package that allows a user to unknowingly strip security protection from a file is an incredible risk to the organization.
If I were a business operating in that type of situation, I would never allow LO to be used in any of my business processes. For what it’s worth I actually like LO 7x as a very cost-effective substitute for many Office users.
-
January 14, 2021 at 2:12 am #2334254
doriel
AskWoody LoungerI guess that’s a valid opinion if LO never expects to be taken seriously as a business or enterprise tool.
It is not serious enterprise tool. Its a free open open source for people who dont want (or need) to have payed version to create documents, tables and presentations. Its understandable that some functions are different and sometimes you must learn how to do things.
In today’s world, people must take security seriously.
Yes they must, but they should not expect, that the sotware will do everything itself. Software does, what you tell him to do. So its the person who needs to be carefull 😉
By the way do you know the macro, that can unlock every password-protected file? Try it. Every password in Excel can be removed by this. I use it for many years. You wont believe, how many people can forgot their password 🙂
Sub PasswordBreaker()
Dim i As Integer, j As Integer, k As Integer
Dim l As Integer, m As Integer, n As Integer
Dim i1 As Integer, i2 As Integer, i3 As Integer
Dim i4 As Integer, i5 As Integer, i6 As Integer
On Error Resume Next
For i = 65 To 66: For j = 65 To 66: For k = 65 To 66
For l = 65 To 66: For m = 65 To 66: For i1 = 65 To 66
For i2 = 65 To 66: For i3 = 65 To 66: For i4 = 65 To 66
For i5 = 65 To 66: For i6 = 65 To 66: For n = 32 To 126
ActiveSheet.Unprotect Chr(i) & Chr(j) & Chr(k) & _
Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & Chr(i3) & _
Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
If ActiveSheet.ProtectContents = False Then
MsgBox “One usable password is ” & Chr(i) & Chr(j) & _
Chr(k) & Chr(l) & Chr(m) & Chr(i1) & Chr(i2) & _
Chr(i3) & Chr(i4) & Chr(i5) & Chr(i6) & Chr(n)
Exit Sub
End If
Next: Next: Next: Next: Next: Next
Next: Next: Next: Next: Next: Next
End SubDell Latitude E6530, Intel Core i5 @ 2.6 GHz, 4GB RAM, W10 1809 Enterprise
HAL3000, AMD Athlon 200GE @ 3,4 GHz, 8GB RAM, Fedora 29
-
This reply was modified 5 days ago by
doriel. Reason: text formatting
-
This reply was modified 5 days ago by
-
January 14, 2021 at 3:42 pm #2334401
mn–
AskWoody LoungerAny modern software package that allows a user to unknowingly strip security protection from a file is an incredible risk to the organization.
However, this is not what you describe as happening. The original file still has its protection, the content copied into a *new* file is a whole another issue.
Copying any indirect metadata attributes along with content is very much not a given even in Excel. And for actual persistent protection attributes, Microsoft does have another thing they’d like to sell you.
-
-
January 14, 2021 at 1:41 am #2334249
Paul T
AskWoody MVPI tested this in LO with an ODS file and “Save As” retains the password setting.
The same happens if I save as XLSX.
Opening the resulting XLSX, enter password. “Save As” retains the password setting.I don’t have Excel to produce a test file.
cheers, Paul
1 user thanked author for this post.
-
January 14, 2021 at 2:12 am #2334255
Alex5723
AskWoody PlusHowever as a user, I should be able to assume that if I have assigned a spreadsheet file the security-related attribute of “password protected”, then my action of later editing and saving the changed original with a different name would mean that the new file inherits the original file’s security attribute and will remain encrypted until I make an overt act to remove that attribute. My Excel operates in this manner.
No.
What if you want to edit, save and pass the file to someone else, without a password ? How will you do that ?
1 user thanked author for this post.
-
-
AuthorPosts
Viewing 6 reply threads -
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments. Click here for details and to sign up.
Search The Lounge
Recent Replies
doriel on Ongoing List of Mac Apps Updated for Universal/Apple Silicon Support
10 minutes agoPaul T on Image Backup / Portable Hard Drive
15 minutes agoTom on Find the cable modem that’s just right for your ISP
20 minutes agoTom on Find the cable modem that’s just right for your ISP
25 minutes agoPaul T on Doesn’t like external FAT32 HDD
27 minutes agodoriel on Windows 10X and its purpose
29 minutes agodoriel on Windows 10X and its purpose
33 minutes agoAlex5723 on Apple to block sideloading iOS apps on M1
40 minutes agoAlex5723 on Ongoing List of Mac Apps Updated for Universal/Apple Silicon Support
58 minutes agoKirsty on Need a Great Rules Add-in for Outlook 2019
3 hours, 43 minutes agoKirsty on Extra USB Sound driver?
4 hours, 2 minutes agoNuyorker on Mouse settings NOT preserved after reboot
4 hours, 51 minutes agocybercrone on What Linux is and why it has persisted
5 hours, 9 minutes agoanonymous on Adobe Flash Not working for School test
5 hours, 23 minutes agoOscarCP on What Linux is and why it has persisted
5 hours, 32 minutes agoWSArthurR on What Linux is and why it has persisted
5 hours, 54 minutes agoOscarCP on Apple to block sideloading iOS apps on M1
6 hours, 13 minutes agocybercrone on What Linux is and why it has persisted
6 hours, 21 minutes agoDaveH52 on Doesn’t like external FAT32 HDD
6 hours, 26 minutes agodmitriy1980 on Hard Drive at 100% usage
6 hours, 49 minutes agoAscaris on What Linux is and why it has persisted
6 hours, 58 minutes agoNathan Parker on Apple to block sideloading iOS apps on M1
7 hours, 14 minutes agoanonymous on Susan recommending version 2004
7 hours, 19 minutes agoMHCLV941 on What Linux is and why it has persisted
7 hours, 19 minutes agoOscarCP on Minor Lounge Button Tweaks
7 hours, 41 minutes agoMoonshine on Image Backup / Portable Hard Drive
7 hours, 45 minutes agohms on Susan recommending version 2004
7 hours, 58 minutes agoPKCano on Win 10 2004 still not ready for my device
7 hours, 59 minutes agoPepsiboy on Giving you the choice
8 hours, 2 minutes agoOscarCP on What Linux is and why it has persisted
8 hours, 11 minutes ago
Recent Topics
-
Extra USB Sound driver?
4 hours, 3 minutes ago
-
PNY Flash Drive Problem
10 hours, 35 minutes ago
-
Windows 10 bug crashes your PC when you access this location
14 hours, 20 minutes ago
-
Doesn’t like external FAT32 HDD
28 minutes ago
-
Why won’t Task Scheduler launch Office product
11 hours, 23 minutes ago
-
Susan recommending version 2004
7 hours, 59 minutes ago
-
Replace Images for Text in Word
16 hours, 21 minutes ago
-
Windows 10 internet connection freezes
14 hours, 55 minutes ago
-
Windows Defender In Win 10 Concern
10 hours, 18 minutes ago
-
Laptop with home and work networks
17 hours, 4 minutes ago
-
Top 40+ iOS 14 Tips and Tricks
22 hours, 14 minutes ago
-
What Linux is and why it has persisted
5 hours, 10 minutes ago
-
Find the cable modem that’s just right for your ISP
21 minutes ago
-
Four GB of RAM vanishes … but then reappears
14 hours, 17 minutes ago
-
Wow! Even more Office updates!
12 hours, 19 minutes ago
-
Hard Drive at 100% usage
6 hours, 50 minutes ago
-
Checking e-mail attachments with VirusTotal
1 day, 12 hours ago
-
Giving you the choice
8 hours, 2 minutes ago
-
outlook 365 emails not queueing
18 hours, 39 minutes ago
-
Need a Great Rules Add-in for Outlook 2019
3 hours, 44 minutes ago
-
Mouse settings NOT preserved after reboot
4 hours, 51 minutes ago
-
Apple News Wrap Up: January 17, 2021
1 day, 15 hours ago
-
Tasks for the weekend – January 16, 2021
1 day, 22 hours ago
-
Use Word to Create Awesome Signs
2 days, 6 hours ago
-
Zero day Windows 10 bug
1 day, 9 hours ago
-
KB4598242 fails to install, in rollback loop 2021-01 cum upate
1 day, 12 hours ago
-
Updates paused but not?
1 day, 13 hours ago
-
Security update for Secure Boot DBX can be skipped (KB4535680)
1 day, 16 hours ago
-
Copying Folder Names Into Excel
1 day, 10 hours ago
-
The iPhone Companion
2 days, 21 hours ago
Search for Topics
Recent blog posts
- What Linux is and why it has persisted
- Find the cable modem that’s just right for your ISP
- Four GB of RAM vanishes … but then reappears
- Wow! Even more Office updates!
- Giving you the choice
- Tasks for the weekend – January 16, 2021
- Zero day Windows 10 bug
- Security update for Secure Boot DBX can be skipped (KB4535680)
Key Links
Copyright © 2004 – 2021 AskWoody Tech LLC. All rights reserved.