Skip to main content

Hi

Is there anyway to block python from access internet to download packages?

Whether from VSC or cmdline, etc?

 

thank

 

Sure, create a policy to block pypi.org, or any other package repo you’d like to block.


Hi notskope

I like to block pip or python.exe or VSC to access internet but allowed by trusted repo eg. pypi.org

For EDGE or CHROME, they can access those sites to read the documentation without restriction.

Pls advise

Thank


You can accomplish that with a custom cert-pinned application and a “block” entry in your steering config.

 

Define a cert-pinned application with the executable of python.exe, py.exe, python3.exe etc…

You can then use a steering exception to block access to domains you don’t want those applications to have access to.

 

https://docs.netskope.com/en/certificate-pinned-applications/


Reply