dotnet/aspnetcore

allow setting permissions on unix sockets

Open

#17,706 创建于 2019年12月9日

在 GitHub 查看
 (10 评论) (3 反应) (0 负责人)C# (10,653 fork)batch import
affected-very-fewarea-networkingenhancementfeature-kestrelgood first issuehelp wantedseverity-nice-to-have

仓库指标

Star
 (37,933 star)
PR 合并指标
 (平均合并 16天 9小时) (30 天内合并 258 个 PR)

描述

Hello, It would be useful to allow setting permissions on unix sockets. There was a recommendation somewhere to run kestrel as same user as www server, but that is not always a good thing to do. For example my security model assumes there are many apps behind my reverse proxy and they do not need access to other apps, and the server also does not need access to directories and files of these apps, just to the socket. Of course one solution to the problem is containerization, but I don't think it is/should be the only solution. Plain user isolation also should work relatively straightforward.

贡献者指南