summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qlocalserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/socket/qlocalserver.cpp')
-rw-r--r--src/network/socket/qlocalserver.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/socket/qlocalserver.cpp b/src/network/socket/qlocalserver.cpp
index b379e99f6f..8284ae4c27 100644
--- a/src/network/socket/qlocalserver.cpp
+++ b/src/network/socket/qlocalserver.cpp
@@ -95,8 +95,10 @@ QT_BEGIN_NAMESPACE
Access is restricted to the same user as the process that created the socket.
\value GroupAccessOption
Access is restricted to the same group but not the user that created the socket on Linux.
+ Access is restricted to the primary group of the process on Windows
\value OtherAccessOption
Access is available to everyone but the user and group that created the socket on Linux.
+ Access is available to everyone on Windows.
\value WorldAccessOption
No access restrictions.
@@ -150,6 +152,13 @@ QLocalServer::~QLocalServer()
honor file permissions for Unix domain sockets and by default
have WorldAccess and these permission flags will have no effect.
+ On Windows, UserAccessOption is sufficient to allow a non
+ elevated process to connect to a local server created by an
+ elevated process run by the same user. GroupAccessOption
+ refers to the primary group of the process (see TokenPrimaryGroup
+ in the Windows documentation). OtherAccessOption refers to
+ the well known "Everyone" group.
+
By default none of the flags are set, access permissions
are the platform default.