Configuring Public Links
Important information
A public link created by a user will work as long as these requirements are met:- The user's account is enabled.
- The user has at least read permissions to the document.
- M-Files Hubshare offers more control and security.
- Anonymous vault access lets users access a vault without credentials.
To enable or disable public links for all vaults on an M-Files Server, see Configuring public links for M-Files Server. When you have configured public links for M-Files Server, you can configure vault-specific public link settings.
To configure visitor links for anyone for the classic M-Files Desktop and public links for the classic M-Files Web, see Configuring visitor links for anyone for the classic M-Files Desktop and public links for the classic M-Files Web. To only configure public links for the classic M-Files Web, see Configuring public links for the classic M-Files Web.
Configuring public links for M-Files Server
To configure public links for M-Files Server:
-
Add or edit this registry setting on the M-Files Server
computer:
Key HKEY_LOCAL_MACHINE\SOFTWARE\Motive\M-Files\<version>\Server\MFServer Value name EnableSharedPublicLinks Value type REG_DWORD Description Enables or disables the public link feature on the server. When disabled, visitor links for anyone and public links cannot be created with clients or APIs, and previously shared visitor links for anyone and public links no longer operate.
If you disable this feature, make sure that you also specify the same settings for the necessary clients. For instructions, see Configuring visitor links for anyone for the classic M-Files Desktop and public links for the classic M-Files Web or Configuring public links for the classic M-Files Web.
Default value 1
Valid values 1 The Create Visitor Link for Anyone option is enabled. 0 The Create Visitor Link for Anyone option is disabled. -
Use Windows Task Manager to restart the MFServer
service:
Configuring visitor links for anyone for the classic M-Files Desktop and public links for the classic M-Files Web
- Expand .
- Click Add Namespace and expand the new namespace node.
- In Storage Type, select MFConfigurationValue.
- In Namespace, enter this value: M-Files.Core.Sharing.PublicLinks.Settings
- In Name, enter Enabled.
- Click Add Named Value and expand the new named value node.
- In Name, enter this value: AllowSharingLatestVersion
- Click Add Named Value and expand the new named value node.
- In Name, enter this value: DefaultExpireInDays
Configuring public links for the classic M-Files Web
To configure public links for the classic M-Files Web in the Advanced Vault Settings section in M-Files Admin:
- In the navigation area, expand .
-
Do the necessary changes.
Note: If you set Enable Sharing to No, make sure that you also add the related registry setting for M-Files Server. For instructions, see Configuring public links for M-Files Server.
- Click Save.