我有一个ASP.NET Core 3应用程序,该应用程序托管在一个子域下。
如果将HstsOptions.IncludeSubDomains设置为true,将对托管在主域中的其他域/应用进行更改,还是将其设置为更低级别的子域(例如,如果我是yo.hello.example,受影响的子域将是yo.bo.hello.example?像boom.hello.example这样的域不会受到影响?)
HstsOptions.IncludeSubDomains
true
yo.hello.example
yo.bo.hello.example?
boom.hello.example
如果设置正确,如您所述,它应该只影响较低的子域,而不影响同级子域或父域。