FileSecurity 클래스

정의

파일에 대한 액세스 제어 및 감사 보안을 나타냅니다. 이 클래스는 상속될 수 없습니다.

public ref class FileSecurity sealed : System::Security::AccessControl::FileSystemSecurity
public sealed class FileSecurity : System.Security.AccessControl.FileSystemSecurity
[System.Security.SecurityCritical]
public sealed class FileSecurity : System.Security.AccessControl.FileSystemSecurity
type FileSecurity = class
    inherit FileSystemSecurity
[<System.Security.SecurityCritical>]
type FileSecurity = class
    inherit FileSystemSecurity
Public NotInheritable Class FileSecurity
Inherits FileSystemSecurity
상속
특성

예제

다음 코드 예제에서는 클래스를 FileSecurity 사용하여 파일에서 ACL(액세스 제어 목록) 항목을 추가한 다음 제거합니다. 이 예제를 실행하려면 유효한 사용자 또는 그룹 계정을 제공해야 합니다.

using namespace System;
using namespace System::IO;
using namespace System::Security::AccessControl;

// Adds an ACL entry on the specified file for the specified account.

void AddFileSecurity(String^ fileName, String^ account, 
                        FileSystemRights rights, AccessControlType controlType)
{
    // Get a FileSecurity object that represents the 
    // current security settings.
    FileSecurity^ fSecurity = File::GetAccessControl(fileName);

    // Add the FileSystemAccessRule to the security settings. 
    fSecurity->AddAccessRule(gcnew FileSystemAccessRule
                                   (account,rights, controlType));

    // Set the new access settings.
    File::SetAccessControl(fileName, fSecurity);
}

// Removes an ACL entry on the specified file for the specified account.

void RemoveFileSecurity(String^ fileName, String^ account, 
                        FileSystemRights rights, AccessControlType controlType)
{

    // Get a FileSecurity object that represents the 
    // current security settings.
    FileSecurity^ fSecurity = File::GetAccessControl(fileName);

    // Remove the FileSystemAccessRule from the security settings. 
    fSecurity->RemoveAccessRule(gcnew FileSystemAccessRule
                                      (account,rights, controlType));

    // Set the new access settings.
    File::SetAccessControl(fileName, fSecurity);
}

int main()
{
    try
    {
        String^ fileName = "test.xml";

        Console::WriteLine("Adding access control entry for " + fileName);

        // Add the access control entry to the file.
        AddFileSecurity(fileName, "MYDOMAIN\\MyAccount", 
            FileSystemRights::ReadData, AccessControlType::Allow);

        Console::WriteLine("Removing access control entry from " + fileName);

        // Remove the access control entry from the file.
        RemoveFileSecurity(fileName, "MYDOMAIN\\MyAccount", 
            FileSystemRights::ReadData, AccessControlType::Allow);

        Console::WriteLine("Done.");
    }
    catch (Exception^ ex)
    {
        Console::WriteLine(ex->Message);
    }
}
using System;
using System.IO;
using System.Security.AccessControl;

namespace FileSystemExample
{
    class FileExample
    {
        public static void Main()
        {
            try
            {
                string fileName = "test.xml";

                Console.WriteLine("Adding access control entry for "
                    + fileName);

                // Add the access control entry to the file.
                AddFileSecurity(fileName, @"DomainName\AccountName",
                    FileSystemRights.ReadData, AccessControlType.Allow);

                Console.WriteLine("Removing access control entry from "
                    + fileName);

                // Remove the access control entry from the file.
                RemoveFileSecurity(fileName, @"DomainName\AccountName",
                    FileSystemRights.ReadData, AccessControlType.Allow);

                Console.WriteLine("Done.");
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }

        // Adds an ACL entry on the specified file for the specified account.
        public static void AddFileSecurity(string fileName, string account,
            FileSystemRights rights, AccessControlType controlType)
        {

            // Get a FileSecurity object that represents the
            // current security settings.
            FileSecurity fSecurity = File.GetAccessControl(fileName);

            // Add the FileSystemAccessRule to the security settings.
            fSecurity.AddAccessRule(new FileSystemAccessRule(account,
                rights, controlType));

            // Set the new access settings.
            File.SetAccessControl(fileName, fSecurity);
        }

        // Removes an ACL entry on the specified file for the specified account.
        public static void RemoveFileSecurity(string fileName, string account,
            FileSystemRights rights, AccessControlType controlType)
        {

            // Get a FileSecurity object that represents the
            // current security settings.
            FileSecurity fSecurity = File.GetAccessControl(fileName);

            // Remove the FileSystemAccessRule from the security settings.
            fSecurity.RemoveAccessRule(new FileSystemAccessRule(account,
                rights, controlType));

            // Set the new access settings.
            File.SetAccessControl(fileName, fSecurity);
        }
    }
}
Imports System.IO
Imports System.Security.AccessControl



Module FileExample

    Sub Main()
        Try
            Dim fileName As String = "test.xml"

            Console.WriteLine("Adding access control entry for " & fileName)

            ' Add the access control entry to the file.
            AddFileSecurity(fileName, "DomainName\AccountName", _
                FileSystemRights.ReadData, AccessControlType.Allow)

            Console.WriteLine("Removing access control entry from " & fileName)

            ' Remove the access control entry from the file.
            RemoveFileSecurity(fileName, "DomainName\AccountName", _
                FileSystemRights.ReadData, AccessControlType.Allow)

            Console.WriteLine("Done.")
        Catch e As Exception
            Console.WriteLine(e)
        End Try

    End Sub


    ' Adds an ACL entry on the specified file for the specified account.
    Sub AddFileSecurity(ByVal fileName As String, ByVal account As String, _
        ByVal rights As FileSystemRights, ByVal controlType As AccessControlType)
  
        ' Get a FileSecurity object that represents the 
        ' current security settings.
        Dim fSecurity As FileSecurity = File.GetAccessControl(fileName)

        ' Add the FileSystemAccessRule to the security settings. 
        Dim accessRule As FileSystemAccessRule = _
            New FileSystemAccessRule(account, rights, controlType)

        fSecurity.AddAccessRule(accessRule)

        ' Set the new access settings.
        File.SetAccessControl(fileName, fSecurity)

    End Sub


    ' Removes an ACL entry on the specified file for the specified account.
    Sub RemoveFileSecurity(ByVal fileName As String, ByVal account As String, _
        ByVal rights As FileSystemRights, ByVal controlType As AccessControlType)

        ' Get a FileSecurity object that represents the 
        ' current security settings.
        Dim fSecurity As FileSecurity = File.GetAccessControl(fileName)

        ' Remove the FileSystemAccessRule from the security settings. 
        fSecurity.RemoveAccessRule(New FileSystemAccessRule(account, _
            rights, controlType))

        ' Set the new access settings.
        File.SetAccessControl(fileName, fSecurity)

    End Sub
End Module

설명

클래스는 FileSecurity 시스템 파일에 대한 액세스 권한 및 액세스 시도를 감사하는 방법을 지정합니다. 이 클래스는 권한을 액세스 및 감사 규칙의 집합으로 나타냅니다. 각 액세스 규칙은 개체로 FileSystemAccessRule 표현되고 각 감사 규칙은 개체로 FileSystemAuditRule 표시됩니다.

FileSecurity 클래스 기본 Microsoft Windows 파일 보안 시스템의 추상화입니다. 이 시스템에서 각 파일에는 파일에 대한 액세스를 제어하는 DACL(임의 액세스 제어 목록)과 감사되는 액세스 제어 시도를 지정하는 SACL(시스템 액세스 제어 목록)이 있습니다. 클래스 및 FileSystemAuditRule 클래스는 FileSystemAccessRule DACL 및 SACL을 구성하는 ACE(액세스 제어 항목)의 추상화입니다.

클래스는 FileSecurity DACL 및 SACL의 많은 세부 정보를 숨깁니다. ACE 순서 또는 null DACLS에 대해 걱정할 필요가 없습니다.

클래스를 사용하여 파일의 FileSecurity DACL 및 SACL을 나타내는 액세스 규칙을 검색, 추가 또는 변경합니다.

파일에 대한 새 액세스 또는 변경된 액세스 또는 감사 규칙을 유지하려면 이 메서드를 SetAccessControl 사용합니다. 기존 파일에서 액세스 또는 감사 규칙을 검색하려면 GetAccessControl 메서드를 사용합니다.

생성자

FileSecurity()

FileSecurity 클래스의 새 인스턴스를 초기화합니다.

FileSecurity(String, AccessControlSections)

FileSecurity 열거형의 지정된 값을 사용하여 지정된 파일에서 AccessControlSections 클래스의 새 인스턴스를 초기화합니다.

속성

AccessRightType

FileSystemSecurity 클래스가 액세스 권한을 나타내는 데 사용하는 열거형을 가져옵니다.

(다음에서 상속됨 FileSystemSecurity)
AccessRulesModified

ObjectSecurity 개체와 관련된 액세스 규칙이 수정되었는지 여부를 지정하는 부울 값을 가져오거나 설정합니다.

(다음에서 상속됨 ObjectSecurity)
AccessRuleType

FileSystemSecurity 클래스에서 액세스 규칙을 나타내는 데 사용하는 열거형을 가져옵니다.

(다음에서 상속됨 FileSystemSecurity)
AreAccessRulesCanonical

ObjectSecurity 개체와 관련된 액세스 규칙이 정식 순서대로 되어 있는지 여부를 지정하는 부울 값을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
AreAccessRulesProtected

ObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)이 보호되는지 여부를 지정하는 부울 값을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
AreAuditRulesCanonical

ObjectSecurity 개체와 관련된 감사 규칙이 정식 순서대로 되어 있는지 여부를 지정하는 부울 값을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
AreAuditRulesProtected

ObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)이 보호되는지 여부를 지정하는 부울 값을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
AuditRulesModified

ObjectSecurity 개체와 관련된 감사 규칙이 수정되었는지 여부를 지정하는 부울 값을 가져오거나 설정합니다.

(다음에서 상속됨 ObjectSecurity)
AuditRuleType

FileSystemSecurity 클래스에서 감사 규칙을 나타내는 데 사용하는 형식을 가져옵니다.

(다음에서 상속됨 FileSystemSecurity)
GroupModified

보안 가능한 개체와 관련된 그룹이 수정되었는지 여부를 지정하는 부울 값을 가져오거나 설정합니다.

(다음에서 상속됨 ObjectSecurity)
IsContainer

ObjectSecurity 개체가 컨테이너 개체인지 여부를 지정하는 부울 값을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
IsDS

ObjectSecurity 개체가 디렉터리 개체인지 여부를 지정하는 부울 값을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
OwnerModified

보안 가능한 개체의 소유자가 수정되었는지 여부를 지정하는 부울 값을 가져오거나 설정합니다.

(다음에서 상속됨 ObjectSecurity)
SecurityDescriptor

이 인스턴스의 보안 설명자를 가져옵니다.

(다음에서 상속됨 ObjectSecurity)

메서드

AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)

지정된 액세스 권한, 액세스 제어 및 플래그를 사용하여 지정된 사용자에 대한 새 액세스 제어 규칙을 나타내는 FileSystemAccessRule 클래스의 새 인스턴스를 초기화합니다.

(다음에서 상속됨 FileSystemSecurity)
AddAccessRule(AccessRule)

지정한 액세스 규칙을 이 CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에 추가합니다.

(다음에서 상속됨 CommonObjectSecurity)
AddAccessRule(FileSystemAccessRule)

지정된 ACL(액세스 제어 목록) 권한을 현재 파일이나 디렉터리에 추가합니다.

(다음에서 상속됨 FileSystemSecurity)
AddAuditRule(AuditRule)

지정한 감사 규칙을 이 CommonObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에 추가합니다.

(다음에서 상속됨 CommonObjectSecurity)
AddAuditRule(FileSystemAuditRule)

지정된 감사 규칙을 현재 파일이나 디렉터리에 추가합니다.

(다음에서 상속됨 FileSystemSecurity)
AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

지정된 사용자에 대한 지정된 감사 규칙을 나타내는 FileSystemAuditRule 클래스의 새 인스턴스를 초기화합니다.

(다음에서 상속됨 FileSystemSecurity)
Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetAccessRules(Boolean, Boolean, Type)

지정된 보안 식별자와 관련된 액세스 규칙 컬렉션을 가져옵니다.

(다음에서 상속됨 CommonObjectSecurity)
GetAuditRules(Boolean, Boolean, Type)

지정된 보안 식별자와 관련된 감사 규칙 컬렉션을 가져옵니다.

(다음에서 상속됨 CommonObjectSecurity)
GetGroup(Type)

지정된 소유자와 관련된 주 그룹을 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetOwner(Type)

지정된 주 그룹과 관련된 소유자를 가져옵니다.

(다음에서 상속됨 ObjectSecurity)
GetSecurityDescriptorBinaryForm()

ObjectSecurity 개체의 보안 설명자 정보를 나타내는 바이트 값 배열을 반환합니다.

(다음에서 상속됨 ObjectSecurity)
GetSecurityDescriptorSddlForm(AccessControlSections)

ObjectSecurity 개체와 관련된 지정된 보안 설명자 섹션의 SDDL(Security Descriptor Definition Language) 표현을 반환합니다.

(다음에서 상속됨 ObjectSecurity)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ModifyAccess(AccessControlModification, AccessRule, Boolean)

지정된 수정 사항을 이 CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에 적용합니다.

(다음에서 상속됨 CommonObjectSecurity)
ModifyAccessRule(AccessControlModification, AccessRule, Boolean)

지정된 수정 사항을 이 ObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에 적용합니다.

(다음에서 상속됨 ObjectSecurity)
ModifyAudit(AccessControlModification, AuditRule, Boolean)

지정된 수정 사항을 이 CommonObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에 적용합니다.

(다음에서 상속됨 CommonObjectSecurity)
ModifyAuditRule(AccessControlModification, AuditRule, Boolean)

지정된 수정 사항을 이 ObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에 적용합니다.

(다음에서 상속됨 ObjectSecurity)
Persist(Boolean, String, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

(다음에서 상속됨 ObjectSecurity)
Persist(SafeHandle, AccessControlSections)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

(다음에서 상속됨 NativeObjectSecurity)
Persist(SafeHandle, AccessControlSections, Object)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

(다음에서 상속됨 NativeObjectSecurity)
Persist(String, AccessControlSections)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

(다음에서 상속됨 NativeObjectSecurity)
Persist(String, AccessControlSections, Object)

NativeObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

(다음에서 상속됨 NativeObjectSecurity)
PurgeAccessRules(IdentityReference)

지정된 IdentityReference와 관련된 모든 액세스 규칙을 제거합니다.

(다음에서 상속됨 ObjectSecurity)
PurgeAuditRules(IdentityReference)

지정된 IdentityReference와 관련된 모든 감사 규칙을 제거합니다.

(다음에서 상속됨 ObjectSecurity)
ReadLock()

ObjectSecurity 개체에 대한 읽기 액세스를 잠급니다.

(다음에서 상속됨 ObjectSecurity)
ReadUnlock()

ObjectSecurity 개체에 대한 읽기 액세스의 잠금을 해제합니다.

(다음에서 상속됨 ObjectSecurity)
RemoveAccessRule(AccessRule)

CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에서 지정한 액세스 규칙과 동일한 보안 식별자 및 액세스 마스크가 들어 있는 액세스 규칙을 제거합니다.

(다음에서 상속됨 CommonObjectSecurity)
RemoveAccessRule(FileSystemAccessRule)

현재 파일이나 디렉터리에서 일치하는 모든 허용/거부 ACL(액세스 제어 목록) 권한을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
RemoveAccessRuleAll(AccessRule)

CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에서 지정한 액세스 규칙과 동일한 보안 식별자가 있는 모든 액세스 규칙을 제거합니다.

(다음에서 상속됨 CommonObjectSecurity)
RemoveAccessRuleAll(FileSystemAccessRule)

현재 파일이나 디렉터리에서 지정된 사용자의 모든 ACL(액세스 제어 목록) 권한을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
RemoveAccessRuleSpecific(AccessRule)

CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에서 지정한 액세스 규칙과 정확히 일치하는 모든 액세스 규칙을 제거합니다.

(다음에서 상속됨 CommonObjectSecurity)
RemoveAccessRuleSpecific(FileSystemAccessRule)

현재 파일이나 디렉터리에서 일치하는 특정 허용/거부 ACL(액세스 제어 목록) 권한을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
RemoveAuditRule(AuditRule)

CommonObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에서 지정한 감사 규칙과 동일한 보안 식별자 및 액세스 마스크가 들어 있는 감사 규칙을 제거합니다.

(다음에서 상속됨 CommonObjectSecurity)
RemoveAuditRule(FileSystemAuditRule)

현재 파일이나 디렉터리에서 일치하는 모든 허용/거부 감사 규칙을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
RemoveAuditRuleAll(AuditRule)

CommonObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에서 지정한 감사 규칙과 동일한 보안 식별자가 들어 있는 모든 감사 규칙을 제거합니다.

(다음에서 상속됨 CommonObjectSecurity)
RemoveAuditRuleAll(FileSystemAuditRule)

현재 파일이나 디렉터리에서 지정된 사용자의 모든 감사 규칙을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
RemoveAuditRuleSpecific(AuditRule)

CommonObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에서 지정한 감사 규칙과 정확히 일치하는 모든 감사 규칙을 제거합니다.

(다음에서 상속됨 CommonObjectSecurity)
RemoveAuditRuleSpecific(FileSystemAuditRule)

현재 파일이나 디렉터리에서 일치하는 특정 허용/거부 감사 규칙을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
ResetAccessRule(AccessRule)

CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)의 모든 액세스 규칙을 제거한 다음 지정한 액세스 규칙을 추가합니다.

(다음에서 상속됨 CommonObjectSecurity)
ResetAccessRule(FileSystemAccessRule)

지정된 ACL(액세스 제어 목록) 권한을 현재 파일이나 디렉터리에 추가하고 일치하는 모든 ACL 권한을 제거합니다.

(다음에서 상속됨 FileSystemSecurity)
SetAccessRule(AccessRule)

CommonObjectSecurity 개체와 관련된 DACL(임의 액세스 제어 목록)에서 지정한 액세스 규칙과 동일한 보안 식별자 및 한정자가 들어 있는 모든 액세스 규칙을 제거한 다음 지정한 액세스 규칙을 추가합니다.

(다음에서 상속됨 CommonObjectSecurity)
SetAccessRule(FileSystemAccessRule)

지정된 ACL(액세스 제어 목록) 권한을 현재 파일이나 디렉터리에 설정합니다.

(다음에서 상속됨 FileSystemSecurity)
SetAccessRuleProtection(Boolean, Boolean)

ObjectSecurity 개체와 관련된 액세스 규칙의 보호를 설정하거나 제거합니다. 보호된 액세스 규칙은 부모 개체에서 상속을 통해 수정할 수 없습니다.

(다음에서 상속됨 ObjectSecurity)
SetAuditRule(AuditRule)

CommonObjectSecurity 개체와 관련된 SACL(시스템 액세스 제어 목록)에서 지정한 감사 규칙과 동일한 보안 식별자 및 한정자가 들어 있는 모든 감사 규칙을 제거한 다음 지정한 감사 규칙을 추가합니다.

(다음에서 상속됨 CommonObjectSecurity)
SetAuditRule(FileSystemAuditRule)

지정된 감사 규칙을 현재 파일이나 디렉터리에 설정합니다.

(다음에서 상속됨 FileSystemSecurity)
SetAuditRuleProtection(Boolean, Boolean)

ObjectSecurity 개체와 관련된 감사 규칙의 보호를 설정하거나 제거합니다. 보호된 감사 규칙은 부모 개체에서 상속을 통해 수정할 수 없습니다.

(다음에서 상속됨 ObjectSecurity)
SetGroup(IdentityReference)

ObjectSecurity 개체와 관련된 보안 설명자의 주 그룹을 설정합니다.

(다음에서 상속됨 ObjectSecurity)
SetOwner(IdentityReference)

ObjectSecurity 개체와 관련된 보안 설명자의 소유자를 설정합니다.

(다음에서 상속됨 ObjectSecurity)
SetSecurityDescriptorBinaryForm(Byte[])

지정한 바이트 값 배열에서 이 ObjectSecurity 개체의 보안 설명자를 설정합니다.

(다음에서 상속됨 ObjectSecurity)
SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)

지정한 바이트 값 배열에서 이 ObjectSecurity 개체에 대해 지정한 보안 설명자 섹션을 설정합니다.

(다음에서 상속됨 ObjectSecurity)
SetSecurityDescriptorSddlForm(String)

지정한 SDDL(Security Descriptor Definition Language) 문자열에서 이 ObjectSecurity 개체의 보안 설명자를 설정합니다.

(다음에서 상속됨 ObjectSecurity)
SetSecurityDescriptorSddlForm(String, AccessControlSections)

지정한 SDDL(Security Descriptor Definition Language) 문자열에서 이 ObjectSecurity 개체에 대해 지정한 보안 설명자 섹션을 설정합니다.

(다음에서 상속됨 ObjectSecurity)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)
WriteLock()

ObjectSecurity 개체에 대한 쓰기 액세스를 잠급니다.

(다음에서 상속됨 ObjectSecurity)
WriteUnlock()

ObjectSecurity 개체에 대한 쓰기 액세스의 잠금을 해제합니다.

(다음에서 상속됨 ObjectSecurity)

적용 대상