Prefix patterns – Google Search Appliance Managing Search for Controlled-Access Content User Manual
Page 44

Google Search Appliance: Managing Search for Controlled-Access Content
44
•
“General URL Patterns” on page 44
Prefix Patterns
If there is one or more matching prefix patterns, the pattern with the longest prefix is the best match. A
prefix-pattern specifies a (possibly partial) domain and a prefix of the path portion of the URL. The
general format of a prefix pattern is:
Examples of prefix patterns:
sales.example.com/products/
sales.example.com/products/mypage.html
sales.example.com/
General URL Patterns
If the only matching URL patterns are general patterns, the best match is undefined. The search
appliance chooses one pattern for the URL pattern. A general URL pattern is any pattern other than an
exact-match pattern or a prefix pattern.
Examples of general URL patterns are:
Allowed Users or Groups
A policy ACL rule lists each user’s or group’s login ID. The user who enters a search can view the URL
result if either of the following conditions is true:
•
The current user’s name is one of the user names listed in the rule
•
The current user is a member of one of the groups listed
Otherwise, the user is denied permission to view the URL. The URL does not appear in the search
results.
Adding a Policy ACL
Note: If you are using legacy authorization, you must use the Default credential group in the ACL policy.
To add a policy ACL:
1.
Click Serving > Policy ACLs.
2.
In the URL Patterns field, type the pattern of the URL you want to restrict.
3.
Click Create New Policy ACLs.
4.
Under Principal Name, type the name of a user or group that is permitted to view the URL.
5.
Click the appropriate Principal Type (User or Group).
6.
Optionally, in the Domain box enter the domain name for the user or group.
Example
Description
contains:product
The product string can appear either in the host name, such as
myproduct.com, or at the end of a URL and doesn’t have to be a full
word.
regexp:sid=[0-9A-Z]+/
The URL has to contain a URL parameter with sid= followed by a
value that contains either a digit or capital letter. The plus means one
or more characters