Different operating system provide different remote access.
Windows provide a tool for remote access from one computer to another computer. Keep in mind this funtionality is not available in Windows 10 home version. Need professional or enterprise version.
After enabling the remote desktop in the setting panels, one can define who is allowed to login.
And there is a netwrok level authentication that limits the computer which can login to the computer.