Authorized Serial Account Protection: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(16 intermediate revisions by 8 users not shown)
Line 4: Line 4:
For example, to allow the last attempted serial for account ''MrBob'', enter the following command in the server console:
For example, to allow the last attempted serial for account ''MrBob'', enter the following command in the server console:
  authserial MrBob
  authserial MrBob
==Help, I can't login (HTTP)==
==Help, I can't login (HTTP)==
To login to the HTTP web interface, the IP address has to be authorized.
To login to the HTTP web interface, there are two options:
To authorize an IP address:
====Authorize an IP address:====
* Join the MTA server
* Join the MTA server
* Login to the account
* Login to the account
* Disconnect from MTA server (optional)
* Disconnect from MTA server (optional)
* Login via HTTP
* Login via HTTP
or
====Set a special password:====
* Use the command  '''authserial <account_name> httppass''' in the server console
* Note the supplied 7 digit code
* Login via HTTP and append the supplied 7 digit code to your password
<br/>
<br/>
=Main documentation=
=Main documentation=
Line 21: Line 28:
If you wish to protect other ACL groups, then add them separated by commas, e.g.:
If you wish to protect other ACL groups, then add them separated by commas, e.g.:
  <auth_serial_groups>Admin,SuperModerator</auth_serial_groups>
  <auth_serial_groups>Admin,SuperModerator</auth_serial_groups>
==How to disable==
==How to disable==
Open '''mtaserver.conf''' and find ''<auth_serial_groups>'' and change to below
Open '''mtaserver.conf''' and find ''<auth_serial_groups>'' and change to below
  <auth_serial_groups></auth_serial_enabled>
  <auth_serial_groups></auth_serial_groups>
'''Note''': Authorized Serial Account Protection helps prevent your server from getting hacked. If there is a chance any of your admins are using the same password on other servers, then do not disable this feature.
{{Note|Authorized Serial Account Protection helps prevent your server from getting hacked. If there is a chance any of your admins are using the same password on other servers, then do not disable this feature.}}
==How to use==
==How to use==
To allow the last attempted serial for an account, enter the following command in the server console:
To allow the last attempted serial for an account, enter the following command in the server console:
Line 32: Line 40:
To remove the newest authorized serial for an account:
To remove the newest authorized serial for an account:
  authserial <account_name> remove
  authserial <account_name> remove
To enable HTTP login from an unauthorized IP, use the following command to get a 7 digit code which should be appended to the login password
To enable HTTP login from an unauthorized IP, use the following command to get a 7 digit code which should be appended to the HTTP login password ''(Requires server version 1.5.4-9.11302)''
  authserial <account_name> httppass
  authserial <account_name> httppass
[[PL:Authorized Serial Account Protection]]
[[Category:Scripting_Concepts]]

Latest revision as of 14:22, 12 September 2024

FAQ

Help, I can't login (game)

To allow the last attempted serial, use the authserial command in the server console.
For example, to allow the last attempted serial for account MrBob, enter the following command in the server console:

authserial MrBob

Help, I can't login (HTTP)

To login to the HTTP web interface, there are two options:

Authorize an IP address:

  • Join the MTA server
  • Login to the account
  • Disconnect from MTA server (optional)
  • Login via HTTP

or

Set a special password:

  • Use the command authserial <account_name> httppass in the server console
  • Note the supplied 7 digit code
  • Login via HTTP and append the supplied 7 digit code to your password


Main documentation

Introduction

New from 1.5.3, Authorized Serial Account Protection provides a way to prevent password reuse causing damage to your server.

How to enable

Open mtaserver.conf and find <auth_serial_groups> and change to below. (If <auth_serial_groups> does not exist, then add it)

<auth_serial_groups>Admin</auth_serial_groups>

If you wish to protect other ACL groups, then add them separated by commas, e.g.:

<auth_serial_groups>Admin,SuperModerator</auth_serial_groups>

How to disable

Open mtaserver.conf and find <auth_serial_groups> and change to below

<auth_serial_groups></auth_serial_groups>
[[{{{image}}}|link=|]] Note: Authorized Serial Account Protection helps prevent your server from getting hacked. If there is a chance any of your admins are using the same password on other servers, then do not disable this feature.

How to use

To allow the last attempted serial for an account, enter the following command in the server console:

authserial <account_name>

To view authorized serials for an account:

authserial <account_name> list

To remove the newest authorized serial for an account:

authserial <account_name> remove

To enable HTTP login from an unauthorized IP, use the following command to get a 7 digit code which should be appended to the HTTP login password (Requires server version 1.5.4-9.11302)

authserial <account_name> httppass