The brute force “solution” is to edit every document so that it explicitly references local resources:
Replace absolute URIs to resources on the global web with absolute or relative references to URIs on the local file system
Do this every time you exchange documents with colleagues
(Hopefully you don’t need any digital signatures)