TubeStudio Authentication

From TMM Wiki
Revision as of 01:53, 28 January 2010 by Tmmdan (talk | contribs)
Jump to navigationJump to search
TubeStudio


TubeStudio provides a few default authentication methods. Users can be authenticated off of the internal database, an external NATS system, or through the HTTP headers (mysql_auth, httpasswd,..). Below are the various settings and their descriptions for authenticating users.


Internal Authentication

This is the default authentication method for TubeStudio. All user data is stored in the local database and inserted when a user goes through the signup process. When using this method nothing else needs to be done by you.


External through HTTP Headers

Select his option if you use an external authentication system such as mysql auth or httpasswd files.


External through NATS

Selecting this method will use the NATS database for logging users in. This option is only intended for program owners and not affiliates. On the first login, certain information will be transfered over and stored locally, however all logins will refer to the NATS database for the username and password. Be sure to choose the correct version for your NATS install (v3 or v4).

If you are using this option then you will also need to fill in the values for:

  • NATS_AUTH_HOST
    • Hostname for your NATS database
  • NATS_AUTH_DB
    • Database name your NATS database
  • NATS_AUTH_USER
    • Username for your NATS database
  • NATS_AUTH_PASS
    • Password for your NATS database

If you TubeStudio and NATS installations are on different servers, be sure to enter the correct hostname and make sure that the database allows the external communication through the username and password provided. It is recommended that you set up a new username and password that only has SELECT privileges on the member tables.