From e7be49b57353e66fcbe8702edbeeed393e254ff9 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 2 Dec 2014 14:33:17 +0100 Subject: Limit access to non-shared mode A read-only client should not be allowed to kick out other clients. It will be forced into shared mode, or refused the connection, depending on the neverShared parameter. --- common/rfb/SConnection.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/rfb/SConnection.h') diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h index 0379b17f..005a7a85 100644 --- a/common/rfb/SConnection.h +++ b/common/rfb/SConnection.h @@ -127,6 +127,7 @@ namespace rfb { static const AccessRights AccessPtrEvents; // Send pointer events static const AccessRights AccessCutText; // Send/receive clipboard events static const AccessRights AccessSetDesktopSize; // Change desktop size + static const AccessRights AccessNonShared; // Exclusive access to the server static const AccessRights AccessDefault; // The default rights, INCLUDING FUTURE ONES static const AccessRights AccessNoQuery; // Connect without local user accepting static const AccessRights AccessFull; // All of the available AND FUTURE rights -- cgit v1.2.3