System Variable Entry: TRUSTEDPATHS
← Prev | ↑ Chapter | Next → | Index | Symbols
System Variable Entry: TRUSTEDPATHS
Name
TRUSTEDPATHS
Type
string
Default
varies by host
Read-Only
yes
Scope
registry; saved in registry
Description
Specifies which folders have permission to load and execute files that contain code.
Read/Written By
- arxload
- autoarxload
- autoload
- findtrustedfile
- load
- open
- vl-vbaload
Compatibility
AutoCAD and BricsCAD. AutoCAD all; BricsCAD V20+. Divergence: read-only AutoCAD False, BricsCAD True; saved-in AutoCAD Registry, BricsCAD Not saved.
clautolisp
Semicolon-separated folder list (each optionally quoted); "" / "."
add no folders beyond the implicit ones; a trailing \... (or, in
clautolisp and AutoCAD-mac, /...) trusts subfolders recursively. The
clautolisp default is "" in every dialect; settable except under
--bricscad (read-only, matching BricsCAD). When the trust gate computes
whether a file is trusted it uses TRUSTEDPATHS together with the
implicit folders (CLAUTOLISPIMPLICITLYTRUSTEDFOLDERPATHS) and the
trusted init files. Seedable from the TRUSTEDPATHS environment variable.
Full rules: Normative Rules: Secure File Loading and Trust Model
(chapter 11).