Conan Repository Exclusive (2024)

Conan's "Repository Exclusive" mode enhances build security and speed by restricting package searches to designated, single repositories for specified packages. This feature prevents dependency confusion attacks and ensures reproducible builds by pinning package patterns to secure remotes, improving upon the default broad search behavior. For more details, explore the Conan documentation regarding the configuration of exclusive remotes. AI responses may include mistakes. Learn more

: Ensure the Package Registry is enabled in your project settings. Add Remote conan repository exclusive

Technical considerations

Alternatively, use the command line to modify a remote’s allowed_packages : conan repository exclusive