stop users linking to files in file system from web pages
-
09-12-2019 - |
Question
We are still working on our sharepoint implementation and have had a requirement come in from the powers that be to stop users linking to file system(network drive) documents from their webpages. Instead the desired behaviour is that users upload their docs into sharepoint and refrence them from there. Is this possible in out of the box sharepoint. If not what are things that i can google/look at in order to try and diagnose the gravity of work required?
Any help or advice is much apreciated?
Thanks
Nicholas
Solution
There wouldn't really be anyway to prevent them from doing so. However, you could use the suggestion in the answer here: Regex Query Against FAST Search 2010. That is to create an external processor for the search engine that sets a flag true on the indexed item if content on the page matches a regular expression that identifies a link to a local drive. Then do search queries on that property to find and correct content that has been linked as such.