Index Server leverages the security system built into Windows NT to check whether users have permission to view query results. NTFS supports Access Control Lists (ACLs) on directories and files. Index Server will check these ACLs before returning a query result file by file. The four steps in the following test drive show you how these features work. After you work through the exercises, see the Security Summary for further explanation.
Note This test drive assumes that the sample corpus resides on an NTFS volume. It also assumes you have some experience with IIS and Windows NT security features. Also, you must have administrative permissions for the local computer. Because this test drive asks you to make security changes on the server, you should use a test server rather than a production server.
In step 1, you will create two new users on the server. One user, Sally, will have rights to view a sample document. The other user, Joe, will not have rights to view the document.
To create user accountsProperty | User 1 | User 2 |
Username | Sally | Joe |
Full Name | (blank) | (blank) |
Description | (blank) | (blank) |
Password | sally | joe |
User Must Change Password | (Not selected) | (Not selected) |
You have now created two new user accounts.
In step 2, You will set up an ACL to prevent the user Joe from gaining access to the file Ixserver.doc in any way.
To put an ACL on a file
The Add Names box shows server_name\joe where server_name is replaced by the name of the server. For example, if the server is named Tripoli, you would see Tripoli\joe in this box.
Youll return to the File Permissions dialog box. There should now be an entry for server_name\Joe that reads No Access.
In Step 3, you will reconfigure security on your system to prepare for step 4. No part of this step actually involves Index Server.
To control password authentication
Reconfiguring system security to Basic (clear text) authentication makes it easier for you to work through step 4.
With the type of authentication you set up in step 3, you can now open two browsers in the security context of the two users (Sally and Joe), without having to log off and log back on. When you have finished this test drive, you should reset authentication to Windows NT Challenge/Response for your normal, day-to-day operations.
To configure security
Where server_name is the name of the computer running Index Server.
The server will require you to log on to this page with a username and password.
Field | Entry | Comment |
Username: | server_name\Sally | for example Tripoli\Sally |
Password: | sally | case sensitive |
You should see the Simple Content Query Web page.
The document Ixserver.doc should appear on the results page.
Note The quotation marks around the query tell Index Server to search for the phrase publish and consume, rather than for two separate words publish and consume.
You will need to be authenticated again.
Field | Entry | Comment |
Username: | server_name\Joe | for example, Tripoli\Joe |
Password: | joe | case sensitive |
A browser is opened in Joes security context.
This time the query does not return Ixserver.doc because Joe does not have any access privileges to that file.
Note that the standard security system is used, so Windows NT Server and IIS must be configured properly for secure access. Also, the documents themselves must be protected correctly with ACLs.
Index Server checks ACLs before returning query results to the browser. A user must have Read privilege on a document for Index Server to return a hit. The query is first executed in the system security context so all hits are returned. Then documents the user cannot see are removed from the result set, and the remaining documents are returned to the user.
In this test drive, only one document matched the query and it was removed. Index Server has been optimized to check tens of thousands of files with little or no effect on performance. In fact, Index Server by default always checks security; therefore, all the queries done so far have been performed with ACL checking activated.
If a user is not allowed to read a document, Index Server gives that user no reference to the documenthe or she does not even know the document exists. Many other systems will return a reference to the document and then prohibit actual access to the document. Removing prohibited documents from the result set is important because Index Server can generate document abstracts derived from the content of a document. To return a reference and abstract for a secure document would violate security because some of the contents would be displayed. Even if abstracts are not generated, returning hits to a prohibited document allows an intruder to find documents with sensitive words and phrases, and determine the location of these documents. This information could easily breach security.
Note For the rest of the test drive, reset the authentication mechanism on the server to Allow Anonymous in the Internet Service Manager. This setting lets you search without having to be authenticated every time.