> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SMB directory observations

> Mount the regular files at the root of one encrypted SMB 3.1.1 disk share.

Publish the directory through a dedicated read-only SMB disk share. Use an
SMB 3.1.1 server with NTLMv2, SHA-512 preauthentication integrity, and
AES-128-GCM or AES-128-CCM transport encryption. Use a dedicated,
least-privilege account and allow the installation's fixed TCP endpoint in the
deployment's egress policy. The host verifies the signed session response
before opening the share. Kerberos, guest sessions, DFS and older dialects
are outside this mode.
[Microsoft SMB session setup](https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-smb2/5ed93f06-a1d2-4837-8954-fa8b833c2654).

Follow the [file app mount guide](https://docs.bijection.com/integrations/native-sftp.md) and pass
`smbDirectory("files.example.com:445", credential, label)` as `provider`.
Bind the receiver and the mount under the same `data` label, and set the
credential with `bijection secret set`.

```json theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
{
  "protocol": "smb",
  "share": "Exports",
  "user": "drop-reader",
  "password": "<password>",
  "domain": "CONTOSO"
}
```

Omit `domain` for an account that needs no domain. Only regular files at
the share root are observed. The source uses relative-name keys and a
last-committed-name cursor. The listing admits up to 2,048 entries in
128 directory replies. Reparse points are skipped.

The server must return the on-disk file ID in the `QFid` create context.
Each 24 KiB range requires matching file ID, change time and size before
and after the read. The range handle permits concurrent readers. Files
up to 1 MiB are retained and larger files receive metadata. The source
does not infer deletes or write to the share.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.