xpra icon
Bug tracker and wiki

Changes between Version 19 and Version 20 of Authentication


Ignore:
Timestamp:
04/08/16 08:12:16 (4 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Authentication

    v19 v20  
    2121
    2222Starting with version 0.15, there is also a {{{--tcp-auth=MODULE}}} switch which allows a different authentication module to be used for TCP sockets.
     23In version 0.17, you can also use {{{--vsock-auth=MODULE}}} for vsock (#983).
     24
    2325[[BR]]
    2426Here are the modules that can be used:
    25 * [/browser/xpra/trunk/src/xpra/server/auth/allow_auth.py allow]: always allows the user to login, the username used is the one supplied by the client - dangerous / only for testing
    26 * [/browser/xpra/trunk/src/xpra/server/auth/none_auth.py none]: always allows the user to login, the username used is the one the server is running as - dangerous / only for testing (requires version 0.12 or later)
    27 * [/browser/xpra/trunk/src/xpra/server/auth/fail_auth.py fail]: always fails authentication, no password required - useful for testing
    28 * [/browser/xpra/trunk/src/xpra/server/auth/reject_auth.py reject]: always fails authentication, pretends to ask for a password - useful for testing (requires version 0.12 or later)
    29 * [/browser/xpra/trunk/src/xpra/server/auth/file_auth.py file]: looks up usernames and password in the password file (see [/wiki/Authentication#PasswordFile below])
    30 * [/browser/xpra/trunk/src/xpra/server/auth/pam.py pam]: linux PAM authentication
    31 * [/browser/xpra/trunk/src/xpra/server/auth/win32_auth.py win32]: win32security authentication
    32 * {{{sys}}} is a virtual module which will choose win32 or pam
     27||= Module =||= Result =||= Purpose =||= Version requirements =||
     28||[/browser/xpra/trunk/src/xpra/server/auth/allow_auth.py allow]||always allows the user to login, the username used is the one supplied by the client||dangerous / only for testing|| ||
     29||[/browser/xpra/trunk/src/xpra/server/auth/none_auth.py none]||always allows the user to login, the username used is the one the server is running as||dangerous / only for testing|| >=0.12||
     30||[/browser/xpra/trunk/src/xpra/server/auth/fail_auth.py fail]||always fails authentication, no password required||useful for testing|| ||
     31||[/browser/xpra/trunk/src/xpra/server/auth/reject_auth.py reject]||always fails authentication, pretends to ask for a password||useful for testing|| >=0.12||
     32||[/browser/xpra/trunk/src/xpra/server/auth/env_auth.py env]||matches against an environment variable ({{{XPRA_PASSWORD}}} by default)|| alternative to file module|| >=0.17||
     33||[/browser/xpra/trunk/src/xpra/server/auth/password_auth.py password]||matches against a password given as a module option, ie: {{{auth=password:value=mysecret}}}|| alternative to file module||  >=0.17||
     34||[/browser/xpra/trunk/src/xpra/server/auth/multifile_auth.py multifile]||matches usernames and passwords against an authentication file||proxy: see [/wiki/Authentication#PasswordFile below]|| >=0.17||
     35||[/browser/xpra/trunk/src/xpra/server/auth/file_auth.py file]||compares the password against the contents of a password file, see [/wiki/Authentication#PasswordFile below]||simple password authentication|| ||
     36||[/browser/xpra/trunk/src/xpra/server/auth/pam.py pam]||linux PAM authentication||Linux system authentication|| ||
     37||[/browser/xpra/trunk/src/xpra/server/auth/win32_auth.py win32]||win32security authentication||MS Windows system authentication|| ||
     38||{{{sys}}}||system authentication||virtual module which will choose win32 or pam authentication automatically|| ||
    3339}}}
    3440