Hi, I have a database which sometimes the documents disappeared by itself (may be deleted by unknown user). I’m thinking of prompting the user for password before they are allowed to delete the document. Is it possible to do so? Please advise.
Subject: Prompt for password before deleting document
You could do 1 of the following:
-
set the database to use soft deletions
-
Write some script in the database script for the querydocumentdelete event to catch the delete and instead of deleting, set a flag to mark it deleted. You will need to update existing views to exclude these documents.
Or you could just trap the delete and create an audit document to say what document was deleted, who and when.
- Disable delete access to the database except to 1 or 2 people.
Check your notes log, replication logs and user activity (if active) aswell, might give you some clues.
I assume no reader fields are being used? Check the database properties to see how many documents are in the database each day so you can see if the document has actually gone.