Hi @silly,
Why can the file content be directly overwritten after modification?
The identities of "All Users" and "Anonymous" are different. You can find out from their verification methods: "All Users" usually need to log in with their account passwords, while anonymous users do not.
Therefore, the anonymous identity you use will not match the "All Users" and will not be restricted by the rule for "All Users". You need to set up rules for anonymous users to achieve this:
Best regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.