There are a number of authentication schemes to choose from when using PROJECT in a box, depending on the size and complexity of the implementation. This article describes two patterns, one with and one without Active Directory integration.
Note that we always recommend 'Integrated Windows Authentication' in a production environment.
In 'Simple' authentication mode, a user must supply a PIAB-specific user and password.
The user names and hashed passwords are stored in the PIAB database, and the client sends these credentials to the server over the network in plaintext. Security can be improved by using HTTPS on the web server, which encrypts the traffic including credentials.
In 'Advanced' authentication mode, a user who is logged into Windows is automatically logged into PIAB using their Windows login name. This is 'Single Sign-On'.
The users names are stored in the PIAB database and must match up with Active Directory login names. The user needs to be logged on as a Windows domain user. The IIS Virtual Directory or Website hosting the PIAB web service (piabws) is set to use 'Integrated Windows Authentication'. The PIAB client is also set to connect with 'Integrated Windows Authentication'. In use, the PIAB client picks up the logged-in username, authenticates to IIS, and then authenicates the user name with the PIAB database. No passwords are sent.
Scheme | Description | Typical Use | Pros and Cons |
---|---|---|---|
Simple | -User names and passwords stored in the PROJECT in a box database -Anonymous access in IIS | Single-user installations e.g. Personal Edition on a laptop, or small implementations on a LAN with a handful of users to maintain. | -Simple to understand. -Users have to remember their PROJECT in a box user names and passwords |
Advanced | -Single sign-on -Windows authentication in IIS -User names only stored in the PROJECT in a box database -User names sync with Active Directory using LDAP | On a larger Windows domain with many users. | -Single sign-on -Better security -Cheaper to administer for larger networks -Requires Windows Sysadmin skills to understand and set up. |
On the Server:
For Enterprise Hub:
On the Client:
On the Server:
For Enterprise Hub:
On the Client: