---
name: "SetFileSecurityA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SetFileSecurityA"
---

# SetFileSecurityA(3w)

## NAME

**SetFileSecurityA** (ADVAPI32.@)

## SYNOPSIS

BOOL SetFileSecurityA\
  (\
   LPCSTR               *lpFileName*,\
   SECURITY\_INFORMATION *RequestedInformation*,\
   PSECURITY\_DESCRIPTOR *pSecurityDescriptor*\
  )

## DESCRIPTION

See **[SetFileSecurityW(3w)](/SetFileSecurityW/3w.md)**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/advapi32/security.c"**.

Debug channel **"advapi"**.
