mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-09 08:40:25 +08:00
安全设置中增加“检查客户端指纹”、“检查客户端区域”选项
This commit is contained in:
@@ -13,6 +13,8 @@ type SecurityConfig struct {
|
||||
DenySearchEngines bool `json:"denySearchEngines"` // 禁止常见的搜索引擎访问
|
||||
DenySpiders bool `json:"denySpiders"` // 禁止常见的爬虫
|
||||
AllowDomains []string `json:"allowDomains"` // 允许访问的域名
|
||||
CheckClientFingerprint bool `json:"checkClientFingerprint"` // 在登录状态下检查客户端指纹
|
||||
CheckClientRegion bool `json:"checkClientRegion"` // 在登录状态下检查客户端区域
|
||||
|
||||
allowIPRanges []*shared.IPRangeConfig
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user