Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.Security.AccessControl Unix implementation #17540

Open
ianhays opened this issue Jun 7, 2016 · 5 comments
Open

System.Security.AccessControl Unix implementation #17540

ianhays opened this issue Jun 7, 2016 · 5 comments
Labels
api-suggestion Early API idea and discussion, it is NOT ready for implementation area-System.Security
Milestone

Comments

@ianhays
Copy link
Contributor

ianhays commented Jun 7, 2016

It may be worth looking into providing an implementation of AccessControl on Unix. It would at least be nice to have some control over basic RWX permissions for user/group/all, or we could go deeper with getfacl and setfacl. Most of the things on Windows would likely have to be left out as it would be too far a stretch to map them to anything on Unix, but it's worth considering regardless.

discussion started in dotnet/corefx#8930.

@niemyjski
Copy link

Right now I'm having issues installing https://www.nuget.org/packages/System.Security.AccessControl/ on xamarin projects because it references windows specific functionality that fails to install (Win32 + ..Principal.Windows). I wonder how many people are hitting these kinds of issues where they think this stuff will work xplat and it doesn't.

@niemyjski
Copy link

@GiriSr ^^ Should I create a new issue

@ianhays
Copy link
Contributor Author

ianhays commented Jul 26, 2016

@danmosemsft

@ianhays ianhays removed their assignment Oct 17, 2016
@karelz
Copy link
Member

karelz commented Nov 16, 2016

We need API proposal -- will likely be involved.

@JeremyKuhne
Copy link
Member

There are two security buckets here. One is that there are actual ACL implementations (such as what ships with RedHat Linux), but there is no standard Unix wide. We could implement against the various ACL implementations and perhaps be able to leverage the existing API surface, but that isn't certain.

One other approach that we should consider is creating a simple Least-Common-Denominator access API to allow people to create files and directories with "All Users" and "Just Me" which is a concept we can do in Windows and Unix (i.e. chmod).

@msftgits msftgits transferred this issue from dotnet/corefx Jan 31, 2020
@msftgits msftgits added this to the 5.0 milestone Jan 31, 2020
@stephentoub stephentoub modified the milestones: 5.0, Future Feb 15, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@bartonjs bartonjs removed the untriaged New issue has not been triaged by the area owner label Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-suggestion Early API idea and discussion, it is NOT ready for implementation area-System.Security
Projects
None yet
Development

No branches or pull requests

8 participants