Security
Restricting Alma Logins by IP Range
- 通用系统管理员
您可以根据IP地址限制用户登录到Alma。配置此功能有两步。首先创建IP组,然后为这些组配置登录权限。只有这些IP组能登录Alma。
To restrict login by IP groups:
- From the IP Group Configuration page (Configuration Menu > General > Security > IP Group Configuration), select Add IP Group.The Add IP Group pane appears.

- 输入下列信息:
- 组代码 – IP 组代码
- 组名 – 可以稍后更改的IP组的名称
- IP版本 – IPv4 or IPv6
- IP匹配标准 - 特定IP地址或IP范围(两个有效IP地址用连字符分隔)
- Select Add IP definition to Group.该范围将添加到组中,并显示在表中。
- 您可以为每个组定义多个IP范围。按需重复步骤2和3。To remove a range, select Delete in the row actions list.
- When you have finished adding IP ranges, select Add and Close.IP组已添加。
To edit the group, select Edit in the row actions list.To delete the group, select Delete in the row actions list.
- Open the Login Restriction Configuration page (Configuration Menu > General > Security > Login Restriction Configuration).Note that login restrictions are disabled until you enable them on this page.

- The login restrictions can be overridden for a particular user by selecting Disable all login restrictions when editing the user (see Editing Users).Selecting the Apply restrictions for all users checkbox cancels the user-level override and also applies the login restrictions for users with the General System Administrator role.请注意,之前的配置不会被删除,一旦取消选中复选框,它就会恢复。
- Select the IP groups from IP Group whose IP addresses you want to allow login access, and select Add. You can select Add all groups to add all IP groups.一旦选定了IP组,其他的IP地址都会被限制登录。
- Select a manager from the IP restrictions manager box (mandatory).当用户使用受限的IP地址进行登录尝试时,该管理员会收到所有相关信息。
- Select Enable login restrictions.To save your changes without enabling or disabling login restrictions, select Save.
- You must select Enable login restrictions for the IP login restrictions to take effect.
- Users with the General System Administrator role are not restricted.
- To disable login restrictions at a later time, select Disable login restrictions.
如果有用户使用受限IP地址尝试登录Alma,则会显示以下消息:
The user can select Contact Administrator to contact the IP restrictions manager configured above.
CSP (Content Security Policy) Header Configuration
您可以启用和配置CSP标头指令来微调Web应用程序的安全政策。To access this configuration go to Configuration > General > CSP Header Configuration.
底部的预览窗格显示标头,并在设置更改时自动更新。
前四条指令(frame-ancestors、object-src、worker-src、upgrade-insecure-requests)默认处于有效状态,并且无法禁用。You can however add additional domains to the allowed list in the Allowed Lis - Additions column, by hovering over the column to locate the edit icon and then adding the domain.
最后五条指令(如下所述)默认处于停用状态,但与前四个指令不同,它们可以激活。You can add additional domains to the allowed list in the Allowed List - Additions column.
-
form-action:
- This directive restricts the URLs that can be used as the target of form submissions (
<form action="..." />).它有助于防止表单被提交到恶意网站。
- This directive restricts the URLs that can be used as the target of form submissions (
-
base-uri:
- This directive restricts the URLs that can be used in a document's
<base>element.The<base>element specifies the base URL to use for all relative URLs in a document, so controlling this can prevent attackers from changing the base URL and redirecting links to malicious sites.
- This directive restricts the URLs that can be used in a document's
-
script-src:
- 此指令指定JavaScript的有效来源。它仅允许来自可信来源的脚本在页面上执行,从而有助于减轻XSS攻击。例如,您可以指定仅从自己的域或受信任的CDN加载脚本。
-
frame-src:
- This directive specifies valid sources for embedding content using
<frame>,<iframe>,<object>,<embed>, and<applet>.它有助于控制哪些源可以嵌入框架内,从而防止点击劫持和其他类型的框架式攻击。
- This directive specifies valid sources for embedding content using
-
connect-src:
- This directive restricts the URLs that the document can fetch using mechanisms like
XMLHttpRequest,Fetch,WebSocket, and EventSource.它有助于控制脚本可以发送数据的位置,从而降低数据泄露的风险。
- This directive restricts the URLs that the document can fetch using mechanisms like
-
style-src:
- The HTTP
Content-Security-Policy(CSP)style-srcdirective specifies valid sources for stylesheets.
- The HTTP
-
img-src:
- The HTTP
Content-Security-Policyimg-srcdirective specifies valid sources of images and favicons.
- The HTTP
-
font-src:
- The HTTP
Content-Security-Policy(CSP)font-srcdirective specifies valid sources for fonts loaded using@font-face.
- The HTTP
-
child-src:
- The HTTP
Content-Security-Policy(CSP)child-srcdirective defines the valid sources forweb workersand nested browsing contexts loaded using elements such as<frame>and<iframe>.对于工作线程来说,不合规的请求会被用户代理视为致命的网络错误。
- The HTTP
-
default-src:
- The HTTP
Content-Security-Policy(CSP)default-srcdirective serves as a fallback for the other CSPfetch directives.For each directive that is absent, the user agent looks for thedefault-srcdirective and uses this value for it.
- The HTTP
Login Redirection Allowed List
为了避免潜在的安全问题(开放重定向漏洞),您可以创建受信任站点列表。
To create a list of trusted sites:
-
Ensure that the limit_login_redirects (Configuration > General > Other Settings) parameter is set to true.
-
Navigate to Configuration > General > Redirection Allowed List.
-
为每个受信任域添加一个新行。该代码仅供描述之用,并非由Alma使用。
属于Ex Libris (*.exlibrisgroup.com)的域名无需列出。
Preventing Clickjacking
- 通用系统管理员
Clickjacking is an attack that tricks users by showing them an innocuous page that includes real controls from sensitive pages.这些控制通过使用背景框架掩盖,用户无法识别他们是否在网站上点击了敏感功能。这可以导致用户无意中下载恶意软件并提供密码等敏感信息、转账或者在线购物。
To prevent clickjacking from ExLibris products, ExLibirs has adopted a policy-based mitigation technique.Now institutions can instruct the browser about appropriate actions to perform if their site is included inside an iframe.
Modifying this page may break UI integrations from other products.In case of any doubts as to how to use this page, consult Ex Libris Customer Support.
To set the actions to perform if your site is included inside an iframe:
- Open the iFrame Embedding Options table (Configuration > General > Security > iFrame Embedding Options).
- For the desired product and component, select Customize in the row actions.
Alma Management and Esploro Management cannot be framed.该配置无法编辑。
如果您使用Azure IDP,则不支持IFrame嵌入。
- In the Action column, select the appropriate action to perform if your site is included inside an iFrame:
- Allow all(default option) — Allow all pages to load this page inside an iFrame.
- Allow protected— Only trusted pages are permitted to load this page inside an iFrame.If you selected this option, in the Safe Domain column indicate the trusted URLs (no limit on the number of URLs you can specify, list multiple URLs with a blank space between them).
We recommend adding https://*.WEBSITEHERE.com, for example,"https://*.amazon.com".
- Block All— Deny all attempts to frame the page.
- Select Save.