Vanara/Security
David Hall b2e972c77e Fixed NuGet references 2022-12-21 20:31:52 -07:00
..
AccessControl Cleaned and extended Vanara.Security to support `ActiveDirectoryExtension` on all platforms 2020-12-18 17:51:35 -07:00
Principal Fixed NullReferenceException for WindowsIdentity to WindowsImpersonatedIdentity 2020-08-23 12:44:50 -06:00
AccessExtension.cs BREAKING CHANGE: Renamed SafeSECURITY_DESCRIPTOR to SafePrivateObjectSecurity and SafeSecurityDescriptor to SafePSECURITY_DESCRIPTOR due to inconsistency in framework leading to numerous misuse instances. Sorry! 2019-07-12 09:47:46 -06:00
AccountUtils.cs Cleaned and extended Vanara.Security to support `ActiveDirectoryExtension` on all platforms 2020-12-18 17:51:35 -07:00
ActiveDirectoryExtension.cs Cleaned and extended Vanara.Security to support `ActiveDirectoryExtension` on all platforms 2020-12-18 17:51:35 -07:00
CentralAccessPolicy.cs Added CentryAccessPolicy to support CAP functions. 2020-12-18 17:52:11 -07:00
UAC.cs Corrected based on fix to TOKEN_LINKED_TOKEN.LinkedToken type 2019-08-16 09:56:00 -06:00
Vanara.Security.csproj Fixed NuGet references 2022-12-21 20:31:52 -07:00
pkgreadme.md Updated package readme files 2022-06-14 16:55:29 -06:00
readme.md Renamed all project report files to 'readme.md' so they show in GitHub 2022-09-01 14:43:04 -06:00

readme.md

Assembly report for Vanara.Security.dll

Classes for security related items derived from the Vanara PInvoke libraries. Includes extension methods for Active Directory and access control classes, methods for working with accounts, UAC, privileges, system access, impersonation and SIDs, and a full LSA wrapper.

Enumerations

Enum Description Values
Vanara.Security.AccessControl.SystemSecurity.AccountLogonRights Account rights determine the type of logon that a user account can perform. An administrator assigns account rights to user and group accounts. Each user's account rights include those granted to the user and to the groups to which the user belongs. InteractiveLogon, NetworkLogon, BatchLogon, ServiceLogon, DenyInteractiveLogon, DenyNetworkLogon, DenyBatchLogon, DenyServiceLogon, RemoteInteractiveLogon, DenyRemoteInteractiveLogon
Vanara.Security.AccessControl.SystemSecurity.DesiredAccess Access rights for a local security policy. ViewLocalInformation, ViewAuditInformation, GetPrivateInformation, TrustAdmin, CreateAccount, CreateSecret, SetDefaultQuotaLimits, SetAuditRequirements, AuditLogAdmin, ServerAdmin, LookupNames, AllAccess
Vanara.Security.AccessControl.SystemPrivilege Privilege determining the type of system operations that can be performed. InteractiveLogon, NetworkLogon, BatchLogon, ServiceLogon, DenyInteractiveLogon, DenyNetworkLogon, DenyBatchLogon, DenyServiceLogon, RemoteInteractiveLogon, DenyRemoteInteractiveLogon, AssignPrimaryToken, Audit, Backup, ChangeNotify, CreateGlobal, CreatePageFile, CreatePermanent, CreateSymbolicLink, CreateToken, Debug, DelegateSessionUserImpersonate, EnableDelegation, Impersonate, IncreaseBasePriority, IncreaseQuota, IncreaseWorkingSet, LoadDriver, LockMemory, MachineAccount, ManageVolume, ProfileSingleProcess, Relabel, RemoteShutdown, Restore, Security, Shutdown, SyncAgent, SystemEnvironment, SystemProfile, SystemTime, TakeOwnership, TrustedComputerBase, TimeZone, TrustedCredentialManagerAccess, Undock, UnsolicitedInput

Classes

Class Description
Vanara.Security.AccessControl.AccessControlHelper Helper methods for working with Access Control structures.
Vanara.Extensions.AccessExtension Extension methods for native and .NET access control objects.
Vanara.Security.AccessControl.SystemSecurity.AccountPrivileges Allows for the privileges of a user to be retrieved, enumerated and set.
Vanara.Security.AccountUtils Helper methods for working with System.Security.Principal.WindowsIdentity and user names.
Vanara.Extensions.ActiveDirectoryExtension Extensions for AD objects (e.g. DomainController).
Microsoft.Samples.DynamicAccessControl.BadValueException Exception raised when value(s) of a claim value type is invalid.
Vanara.Security.AccountUtils.CentralAccessPolicy Represents a central access policy that contains a set of central access policy entries.
Vanara.Security.AccountUtils.CentralAccessPolicyEntry Represents a central access policy entry containing a list of security descriptors and staged security descriptors.
Microsoft.Samples.DynamicAccessControl.ClaimValue Class to represent the type of claims values held, the value(s) and obtain native (unmanaged) pointers to the value as they are stored in the union members of AUTHZ_SECURITY_ATTRIBUTE_V1 structure's 'Values' field.
Vanara.Security.AccessControl.SystemSecurity.LogonRights Allows for the privileges of a user to be retrieved, enumerated and set.
Vanara.Security.AccessControl.PinnedAcl Enables access to managed System.Security.AccessControl.RawAcl as unmanaged byte[].
Vanara.Security.AccessControl.PinnedSecurityDescriptor Enables access to managed System.Security.AccessControl.ObjectSecurity as unmanaged byte[].
Vanara.Security.AccessControl.PinnedSid Enables access to managed System.Security.Principal.SecurityIdentifier as unmanaged Vanara.Security.AccessControl.PinnedSid.PSID.
Vanara.Security.AccessControl.PrivilegeAndAttributes Class to hold associated Vanara.Security.AccessControl.SystemPrivilege and Vanara.PInvoke.AdvApi32.PrivilegeAttributes pairs.
Vanara.Security.AccessControl.PrivilegedCodeBlock Elevate user privileges for a code block similar to a lock or using statement.
Vanara.Security.AccessControl.PrivilegeExtension Extension methods for Vanara.PInvoke.AdvApi32.SafeHTOKEN for working with privileges.
Vanara.Security.AccessControl.SystemSecurity.SystemAccountInfo Contains a corresponding result for each name provided to the Vanara.Security.AccessControl.SystemSecurity.GetAccountInfo(System.Boolean,System.String[]) method.
Vanara.Security.AccessControl.SystemSecurity Provides access to the local security authority on a given server.
Vanara.Security.UAC Provides information about the state of User Access Control for the system.
Vanara.Security.Principal.WindowsImpersonatedIdentity Impersonation of a user. Allows to execute code under another user context. Please note that the account that instantiates this class needs to have the 'Act as part of operating system' privilege set.
Vanara.Security.Principal.WindowsLoggedInIdentity Impersonation of a user. Allows to execute code under another user context. Please note that the account that instantiates this class needs to have the 'Act as part of operating system' privilege set.