How to allow Download NuGet packages on a server with limited internet access

Baha'a Aldeen Alnatour 0 Reputation points
2023-05-04T11:17:36.0233333+00:00

I Have development environment with limited internet access, and i want to allow nuget.org website access for the purpose of download. unfortunately, some dependencies might required from a third party linked in packages inside NuGet which originally not allowed.

how can I allow website wildcard that cover all NuGet packages required from nuget.org along with the third party packages?

.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
30 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,226 Reputation points
    2023-05-04T15:33:21.9633333+00:00

    I assume you mean a nuget package that runs an install script. as the 3rd party install can be any url, then you either add a every required 3rd party url as needed to the whitelist, or you you completely open access. maybe a use blacklist instead of a whitelist.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.