File Access
The File Access list decides which folders and files on your computer B2Win Suite workflows may use. It works like a guest list: if a location isn't on it, the client won't touch it without asking you first.
Open it from Settings → File Access.
How it works
Click How it works on the File Access tab for a short summary. In detail:
- Only listed locations are used. Workflows can read, save or open files only in the folders and files on the list. Subfolders of a listed folder are included automatically.
- Everything else needs your approval. If a workflow asks for a location that isn't listed, or needs more access than the list gives, the client shows an approval window. There you can allow it once, allow it and add it to the list, or deny it.
- This applies in every approval mode. Even in Auto Approve mode, unlisted files are protected.
- The list starts empty. Until you add something, the tab shows: No paths are listed. B2Win Suite cannot read, write or open any file on this computer.
Folders that are always allowed
The client has two working folders that are always allowed for reading and saving, without being on the list:
| Folder | Used for |
|---|---|
%AppData%\B2WinClient\Documents | Files you want to exchange with workflows. |
%AppData%\B2WinClient\tmp | Files the client downloads to print, attach to email or open. They are cleaned up automatically after the number of days set in Settings → Clear temporary files after. |
The rest of the client's data folder (settings, logs and so on) is protected. It cannot be added to the list.
Access levels
| Level | What workflows can do |
|---|---|
| Read | Read files, for example to import them into a workflow. |
| Read & Write | Read files and save new or updated files, for example to deliver reports. |
| Read/Write & Execute | Everything above, plus open the file with its program or run a macro in it. |
When several entries cover the same file, the most specific entry decides. For example, with C:\Reports set to Read and C:\Reports\Outgoing set to Read & Write, workflows can save files in Outgoing but only read the rest of C:\Reports.
To keep your computer safe, Read/Write & Execute can only be given to a single file type inside the client's tmp folder, for example %APPDATA%\B2WinClient\tmp\*.xlsx. Only document and image types can be allowed, such as .docx, .xlsx, .pptx, .pdf, .txt, .csv, .png and .jpg. Programs and scripts such as .exe, .bat, .cmd and .ps1 can never be allowed.
You rarely need to add these entries by hand. The first time a workflow opens a file type, the approval window offers to remember it for you.
Your allowed folders and files
The File Access tab lists every folder, file and pattern you have allowed. Each entry shows:
| Column | Meaning |
|---|---|
| PATH | The folder, file or pattern that is allowed. Entries remembered from an approval window carry a note such as Added from an approval request or All .docx files in this folder. |
| ACCESS | The access level. You can change it directly in the list. |
| ACTIONS | Edit changes the entry. Delete removes it after asking Remove "…" from the list? |
Changes are saved straight away.
Adding a folder or file
- Go to Settings → File Access.
- Click + Add Path.
- In the Add Whitelisted Path window, fill in:
- Path: type the location, or click Browse to pick a folder.
- Access: Read, Read & Write or Read/Write & Execute.
- Description (optional): a note to remind you why you added it, for example Finance month-end reports.
- Click + Add Path.
Path examples
| Example | Meaning |
|---|---|
C:\Reports | The Reports folder and everything inside it. |
D:\Exports\Invoice.pdf | That one file only. |
C:\Reports\*.pdf | Every PDF file directly in C:\Reports. |
\\fileserver\Finance | A folder on a network share, and everything inside it. |
C:\tmp\docs-*\ | Every folder whose name starts with docs-, such as docs-2026 and docs-archive, and everything inside them. Use * for any run of characters and ? for a single character. |
Always use a full path: a drive letter such as C:\ or a network path starting with \\.
Messages when adding a path
| Message | What to do |
|---|---|
| "C:" includes every folder under it. Workflows will be able to use all of them. Add it anyway? | You are allowing a whole drive or a whole network server. Click No and pick a narrower folder unless you really mean it. |
| This path is already allowed. The Documents and tmp folders, and everything inside them, can be read and written without adding them. | Nothing to do. The location is already one of the folders that are always allowed. |
| This folder is inside the B2Win client data folder, which is protected. | Choose a different folder. |
| This path goes through a shortcut or link whose real location could not be checked. Enter the real folder path instead. | Enter the folder's actual location rather than a shortcut. |
| This path is already on the list. Edit the existing entry instead. | Change the existing entry's access instead of adding a second one. |
| You can only give execute permission to specific extension inside tmp directory | See Execute access is limited on purpose. |
| This file type cannot be given execute permission. | That file type can never be opened or run by workflows. |
When a workflow is blocked
Some requests can't stop to ask you. Reading a whole folder is one of them: the folder must already be on the list. When such a request is blocked, the workflow receives a message that says exactly what to add:
This client cannot read from "C:\Exports\Invoices". That path is not on the File Access list. On this computer, open B2Win Suite Client, go to Settings > File Access, and add "C:\Exports\Invoices" with access Read.
A request is also refused without a prompt when the path is inside the client's protected data folder, or goes through a shortcut or link whose real location can't be checked. The message then tells you to use a different folder or the real folder path.
Follow the instructions, then run the workflow again.
A workflow that asks to open a program or script, such as an .exe or .bat file, is always refused without a prompt: The file 'setup.exe' is not a document or image file, so it was not opened. There is nothing to add to the list. Ask whoever built the workflow to send a document or image file instead.
Tips
- Add only what workflows need. A specific folder is better than a whole drive.
- Prepare unattended computers in advance. On a PC set to Auto Approve, add every folder its workflows use, so they never wait for a prompt nobody will answer.
- Use descriptions. They help you remember later why an entry exists.
- Clean up. Delete entries for workflows you no longer use.