You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/networking/high_level_multiplayer.rst
+45Lines changed: 45 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -672,3 +672,48 @@ a dedicated server with no GPU available. See
672
672
server. You'll have to modify them so the server isn't considered to be a
673
673
player. You'll also have to modify the game starting mechanism so that the
674
674
first player who joins can start the game.
675
+
676
+
Authentication
677
+
--------------
678
+
679
+
Before hosting your game online to a public audience, you may want to consider adding authentication and protecting your RPCs against unauthenticated access.
680
+
You can use the :ref:`SceneMultiplayer <class_SceneMultiplayer>`'s built-in authentication mechanism for this.
681
+
682
+
On the server:
683
+
684
+
.. tabs::
685
+
.. code-tab:: gdscript GDScript
686
+
687
+
# This goes after `multiplayer.multiplayer_peer = peer`.
0 commit comments