public static void ApplySecurity(this IEnumerable<BaseLibraryLink> links, SecuritySettings securitySettings = null)
		{
			foreach (var libraryLink in links)
			{
				libraryLink.Security = securitySettings != null ?
					securitySettings.Clone<SecuritySettings>(libraryLink) :
					SettingsContainer.CreateInstance<SecuritySettings>(libraryLink);
				libraryLink.MarkAsModified();
			}
		}
		private static void ImportData(
			this IBaseLinkSettings target,
			SecuritySettings source)
		{
			target.isRestricted = source.IsRestricted;
			target.noShare = source.NoShare;
			target.assignedUsers = source.AssignedUsers;
			target.deniedUsers = source.DeniedUsers;
		}