Inmagic® Genie Version 2.00 Security Notes


Copyright © 2005 Inmagic, Inc. All rights reserved.

Overview

This document is intended for the Administrator of the Genie application. This document discusses security models and ways you may want to consider to set up security for the application. This document discusses the GENIEKEY textbase and tells you how security works in the application. It tells you how you can manage roles, groups, and users (who are members of the library staff). This document also talks about security and end users, and how you can bypass the login page for Windows users.

Note: Consider removing this file from the Documentation subfolder (which is where it is placed during the installation process) if you do not want others with access to that subfolder to read it.

To administer security for the Genie application, use the Manage Security & Logins function (choose Other>Manage Security & Logins). Instructions for this function are provided on the graphical user interface (GUI) for it.


Security Models

The Genie security features were designed to fit a range of security requirements an organization might have. The following lists the basic ways in which you can set up Genie security:


GENIEKEY Textbase

Genie security is supported through the GENIEKEY textbase. This textbase supports all of the security models described above. We strongly recommend that you assign a master password to this textbase at your earliest convenience. Do the following:


Roles

Genie security, at the most basic level, is role-based. The following roles control access to specific Genie functions:

These roles are available out-of-the-box. Access to them is controlled by the login/password combinations for each role, which are entered on the login page; except for the Public role, which by default bypasses the login page. If you prefer to have users log in as themselves, see End Users and Groups.

Out of the box, these are the role/login/password combinations. For a role login, each individual logging in to the application has to log in with one of these login/password combinations.

Role Login Password
Staff staff staff
Catalogers cataloger cataloger
Administrators admin admin

We strongly recommend that you change the passwords at your earliest convenience. Alternatively, if you prefer one of the other security models, remove the login names and passwords for the roles. For example, to change the password for the Administrators role:

  1. Choose Other>Manage Security & Logins.
     
  2. Select the role option button, then click the Submit Query button.
     
  3. Click the Edit link for the Administrators role.
     
  4. Change the password, then click the Update link.

Note: The privileges associated with these roles cannot be changed, the role names cannot be changed, and additional roles cannot be created. However, the Administrator (the person with the Administrators role) can change the login name and password associated with each role (except the Public role).


Users

Optionally, you can set up user logins. Users, in this case, are members of the library staff. In this model, users have individual login names and passwords, and each user must be assigned to one of the roles listed above.

Note that the Administrator cannot specify or see the password for users. After you add a new user record, the password for that user is empty. At the initial login, the user will have to provide and confirm a password of his or her choosing at that time. The application will capture the password and store it, encrypted (appears as ****), with the corresponding entry in the GENIEKEY textbase.

Once you have set up user logins, users will have to use their login/password combination to access the Genie application.

If a user forgets his or her password, the Administrator can reset the password by clicking the Clear link in the Password box for that user record. When the user next accesses the Genie application, he or she can provide and confirm another password at that time.

Login/password examples

In this example, the Administrators, Catalogers, and Staff roles do not have login names assigned, thereby disabling role login. The following are examples of login/password/role combinations assigned to four users. Notice that user Mary has not yet logged in and set her password.

Login Password Role
joan **** Administrators
fred **** Catalogers
mary   Catalogers
beth **** Staff

For example, to add new user Ken:

  1. Choose Other>Manage Security & Logins.
     
  2. Select the user option button, then click the Submit Query button.
     
  3. Click the Add button.
     
  4. Enter a user name and select a role, then click the Update link.

Groups

Groups are also optional. Groups provide a way to implement query constraints, which are hidden search criteria added to every query into the CATALOG textbase. An example of such a constraint would be to limit the records retrieved to those located in a particular branch of the library.

If the Administrator implements groups for the Genie application, each group has a unique name, a query constraint, and an assigned role. You then assign users to groups rather than roles.

User login with groups

In this example, the Administrators, Catalogers, and Staff roles do not have login names assigned, thereby disabling role login.

When entering a constraint, use this format: TextbaseName, Boolean, Field, SearchArgument, as shown in the table below. Note that only one constraint is permitted in this release, which may only be applied to the CATALOG textbase.

These are examples of groups:

Group Constraint Role
WoburnCat Catalog, AND, CatLocation, =Woburn Catalogers
WoburnStaff Catalog, AND, CatLocation, =Woburn Staff
StonehamCat Catalog, AND, CatLocation, =Stoneham Catalogers


These are examples of users assigned to groups:

Login Password Role OR Group
joan **** Administrators role
fred **** WoburnCat group
mary   StonehamCat group
beth **** WoburnStaff group

For example, to add group BostonCat:

  1. Choose Other>Manage Security & Logins.
     
  2. Select the group option button, then click the Submit Query button.
     
  3. Click the Add button.
     
  4. Enter a group name and a query constraint, select a role from the drop-down list, then click the Update link.

End Users and Groups

The discussion and examples above cover login options for members of the library staff. End users, by default, can search your catalog without having to log in (they bypass the login page). The MyGenie.CONFIG file (which is located in the ConfigFiles subfolder of the main Genie installation folder; for example, C:\Program Files\Inmagic\Genie\ConfigFiles) lists the pages that can be accessed without login, such as Opac.ASPX.

If your organization wants to implement query constraints for end users, follow these steps. This means that end users will no longer bypass the login page.

  1. Choose Other>Manage Security & Logins.
     
  2. Add a group with a query constraint and assign the group to the Public role.
     
  3. Add user records and assign them to that group.
     
  4. Remove the list of pages accessible without login.

For example:

  1. In the MyGenie.CONFIG file, comment out (as shown in the following example) or delete the elements between the <OpacPages> </OpacPages> elements.
  2. 
      <OpacPages>
        <!-- <OpacPage>opac.aspx</OpacPage> -->
        <!-- <OpacPage>opac_report.aspx</OpacPage> -->
      </OpacPages>
    
  3. Create groups, as shown in the following example:

    Group Constraint Role
    WoburnPublic Catalog, AND, CatLocation, =Woburn Public
    StonehamPublic Catalog, AND, CatLocation, =Stoneham Public

     
  4. Create users, as shown in the following example:

    Login Password Group
    joe   WoburnPublic
    jane   StonehamPublic

Bypassing the Login Page

If you selected the Windows Authentication option during the installation of Genie version 2.00, you can bypass the login page for Windows users. If you did not, there are some changes you will need to make in the Web.CONFIG file in your Genie installation folder, as well as corresponding changes to make using IIS. They are described in Setting up Genie to bypass login below.

To access the Genie application without having to log in, library staff will need their Windows login names entered in the GENIEKEY textbase, but no passwords are required or requested. Their login names then need to be assigned to a role or group.

End users who access the OPAC pages in the Genie application do not need to be in the GENIEKEY textbase unless you want them to have query constraints applied when they search. In that case, they do need to be in the textbase, assigned to a group with the appropriate constraint and the role of "Public."

A user accessing the Genie application, who is not present in the GENIEKEY textbase, or who does not have Windows credentials, is redirected to the Genie login page, where a user name and password present in the textbase must be entered.

Setting up Genie to bypass login

To set up the Genie application to bypass the login page, do the following:

  1. Open the Web.CONFIG file located in the main Genie installation folder.
     
  2. Find the following line: <add key="GenieAuth" value="Anonymous" />

    and change the value attribute to value="Windows".
     
  3. Find the following line:

    <forms name="GenieAuth" path="/" loginUrl="Login.aspx" protection="All" timeout="600">

    and change the loginUrl attribute to loginUrl="WinLogin.aspx".
     
  4. Configure IIS Windows security with the IIS Manager:

    1. Navigate to and right-click the InmagicGenie Web site and select Properties from the shortcut menu; on the Directory Security tab, click the Edit button; on the Authentication Methods dialog box, optionally, clear the Enable anonymous access check box, and select the Integrated Windows authentication check box; then click OK twice.
       
    2. Navigate to and right-click the ICS-WPD virtual directory and select Properties from the shortcut menu; on the Directory Security tab, click the Edit button; on the Authentication Methods dialog box, ensure that both the Enable anonymous access and Integrated Windows authentication check boxes are selected; then click OK twice.
       
  5. Configure the IIS Custom 401 Errors handler. When Integrated Windows security fails, the user gets a 401 error. To catch the error and redirect to the Genie login page, do the following:

    1. Using the IIS Manager, navigate to the InmagicGenie Web site.
       
    2. Right-click the WinLogin.ASPX file, and select Properties from the shortcut menu to open a dialog box.
       
    3. On the Custom Errors tab, edit each 401 error to assign it to the Redirect401.HTM page provided in the main Genie installation folder (for example, C:\Program Files\Inmagic\Genie), as shown in the following illustration.


       
  6. Restart IIS (the World Wide Web Publishing Service) using the Services option through the Computer Management window. We recommend that you do this when no one is accessing the Genie application. If logged in users are using the application when IIS is restarted, they will get an "Access Denied" page. They will have to log in to Genie again. For your OPAC users, who typically do not have to log in, restarting IIS will discard the contents of their InfoCart.

Contacting Inmagic and Communicating with Other Users

For help, you can contact Inmagic, Inc. or your local Inmagic dealer. You can also communicate with other Inmagic users.

If you have a maintenance agreement, please have your customer ID ready, and try to be at your computer when you call. If that is not possible, note exactly what you were doing when you encountered the problem, the exact text of any error messages you received, and your software version numbers and serial numbers. (For the Genie serial number, click the About Genie link on the Genie navigation bar. For the Content Server serial number, open CS/TextWorks and choose Help>About CS/TextWorks.) If you do not have a maintenance agreement, you can contact Inmagic Customer Service to purchase one.

Inmagic, Inc.
200 Unicorn Park Drive
Fourth Floor
Woburn, MA 01801 U.S.A.
Tel: 781-938-4444 or 800-229-8398
Fax: 781-938-4446
http://www.inmagic.com

support@inmagic.com - technical support questions
CustomerSvc@inmagic.com - general company, product, and services questions
sales@inmagic.com - sales, product pricing, and custom solution questions
wishlist@inmagic.com - feature requests

If your message is intended for a particular person at Inmagic, Inc. (for example, a Technical Support representative who is expecting the message or files), please include the name of that person in the subject and in the message.

Communicating with Other Users

You can participate in user-to-user discussions through an Inmagic forum on the Web. Note that the forums are not an official customer or technical support channel for Inmagic products. To participate in a forum, go to the Inmagic Customer Extranet at http://support.inmagic.com/downloads/extranet.html.

1005