This document is designed for IT Administrators, Network Security Officers, and System Auditors to understand the security posture and system changes introduced by the Accelerator CLI (accli) mount configurations.
The accli mount start command mounts remote project filesystems on Windows over NFS. To achieve this safely and seamlessly for standard (non-admin) corporate users, we implement the Windows Task Scheduler Mount Gateway:
- Local Loopback Communication (127.0.0.1):
- The mount client and the background NFS gateway daemon (
hf-mount-nfs) reside on the same machine. - All NFS mounting interactions occur over the local loopback interface (
localhost/127.0.0.1). - Loopback traffic is internal to the computer and never traverses the physical network adapter.
- The mount client and the background NFS gateway daemon (
- Zero External Port Exposure (No Firewall Rules):
- Because all network traffic is local loopback, no Windows Defender Firewall rules are created or modified.
- No incoming ports (such as Ports 111 or 2049) are exposed to other machines on the LAN or the internet, preventing any external vector of attack.
In secure corporate environments, standard workstations do not grant administrative privileges to end-users. Because the background hf-mount-nfs.exe daemon must bind to loopback Port 111 (privileged for the RPC portmapper on Windows) and run system-wide mounting commands, it requires elevated privileges.
To resolve this constraint securely, accli implements a hybrid dynamic Scheduled Task Gateway:
An IT Administrator performs a one-time configuration on client computers using standard deployment/MDM systems (Microsoft Intune, Active Directory Group Policy (GPO), or SCCM):
- Runs the static, inspectable script
scripts/setup-nfs.ps1with administrative rights. - Creates
C:\ProgramData\acclidirectory and grants Modify permissions specifically to the standard workstation's Authenticated Users group. - Registers a Windows Scheduled Task named
accli-mount-nfsconfigured to run asSYSTEM(highest privileges) and execute a static helper script:C:\ProgramData\accli\run-mount-helper.ps1.
When a standard user starts a mount:
accli mount start <project-slug>writes the dynamic mount credentials, project slug, and drive letter to the ProgramData directory:C:\ProgramData\accli\mount_config.json.accliexecutes standard Windows Task Scheduler runner:Note: Windows grants standard users full permission to trigger their own configured Scheduled Tasks. No UAC administrative prompt is displayed.schtasks /run /tn "accli-mount-nfs"- The Task Scheduler immediately executes the static helper
run-mount-helper.ps1under the elevatedSYSTEMaccount. - The helper script reads the config JSON and starts the background
hf-mount-nfs.exedaemon with proper privileges, successfully binding to loopback Port 111 (NFS RPC Portmapper). - The
accliCLI executesmount.exedirectly inside the user's interactive logon session to map the network drive (e.g.W:).- Result: Because the drive mapping command runs inside the user's actual session, it is immediately visible in Windows Explorer and all standard applications with ZERO UAC prompts!
The administrator setup script performs strictly three standard operating system configurations:
- Command:
Enable-WindowsOptionalFeature -Online -FeatureName ServicesForNFS-ClientOnly,ClientForNFS-Infrastructure -All -NoRestart
- Purpose: Activates the native Microsoft Client for NFS optional components.
- Security Impact: Safe. Enables built-in operating system features designed and cryptographically signed by Microsoft.
- Key:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System - Value Name:
EnableLinkedConnections - Type:
REG_DWORD - Value:
1 - Purpose: Instructs Windows User Account Control (UAC) to share mapped network drive letters between standard and elevated command contexts belonging to the active logged-in user session.
- Security Impact: Safe. Standard Microsoft UAC behavior, restricted strictly to the local active user session.
- Modify Access: Authenticated Users.
- Purpose: Enables standard users to write mount parameters (
mount_config.json) dynamically, which is read bySYSTEMto start the background mount. - Security Impact: Restricts read/write permissions to locally authenticated sessions. Standard, well-documented practice.
- Read and Execute Access: Authenticated Users.
- Purpose: Allows standard users to query and trigger the registered scheduled task from their non-admin sessions.
- Security Impact: Safe. Standard users can only trigger the pre-configured task; they cannot modify its command-line action or run context.
If your IT Security department requires further code audit or has any questions, the static configuration steps are completely open and inspectable in the file scripts/setup-nfs.ps1.