Hide obsolete sharepoint network

I want to hide the Sharepoint website, which was deprecated (using custom tools) due to the release of a newer version, regardless of whether it will make it invisible in sites and workspaces or through some special archiving function provided by Sharepoint, I basically don’t want users to be able to see an outdated site.

I was wondering what are the options for this, both programmatically and via sharepoint utils / interfaces?

Thank.

UPDATE:

The scenario in which I want to hide web pages from users (for example, Webv1.0 when Web2.0 is available) is a bit similar, well, I have version 2.0 of X software downloaded and installed, and it converted all my data to version 2.0 format so that it is compatible with new features. As a user, I no longer want to use Software X version 1.0, as it is already old. Of course, I need a backup of my data from version 1.0, but I probably do not want to be confused, having a link here that can lead me to version 1.0 of the software (and from the developer's point of view, this will be unnecessary unnecessary work to version 1.0 was available for viewing / editing in version 2.0).

I was thinking about using security to let administrators see everything, but I want to explore other options first. Is it possible for the link to the old site to disappear programmatically.

Thank.

+3
source share
2 answers

Could you just remove all access to this site (by violating security inheritance) and simply allow administrators access to it?

+6
source

Colin's answer sounds like a way to go. Alternatively, you can add a bit of JavaScript that automatically redirects the user to the new version of the site.

JavaScript - ( ) SharePoint Infuser ( ).

+1

Source: https://habr.com/ru/post/1741911/


All Articles