Select to view content in your preferred language

How to create a toolbox hiding the python script

347
3
Jump to solution
07-12-2024 07:21 PM
GABRIELALEJANDROMESASALAMANCA
New Contributor

I've created a couple of scripts I use in some toolboxes to expedite some processes in my company, whoever I would like to keep the actual source code to the scripts hidden while sharing the toolboxes so that they can be used by other coworkers? Thanks in advanced for you help

0 Kudos
2 Solutions

Accepted Solutions
ChristopherCounsell
MVP Regular Contributor

It's possible to embed and password protect the script within the toolbox, exposing the parameters through the tool interface.

https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/create-a-python-script-t...

https://desktop.arcgis.com/en/arcmap/latest/analyze/sharing-workflows/embedding-scripts-and-password...

Anyone capable enough of cracking this is probably capable enough of composing a python script in the first instance...

View solution in original post

DanPatterson
MVP Esteemed Contributor

scripts can also be encripted as in the case of *.pyt toolboxes

Comparing custom and Python toolboxes—ArcGIS Pro | Documentation

see additional security in the above thread


... sort of retired...

View solution in original post

3 Replies
ChristopherCounsell
MVP Regular Contributor

It's possible to embed and password protect the script within the toolbox, exposing the parameters through the tool interface.

https://pro.arcgis.com/en/pro-app/latest/help/analysis/geoprocessing/basics/create-a-python-script-t...

https://desktop.arcgis.com/en/arcmap/latest/analyze/sharing-workflows/embedding-scripts-and-password...

Anyone capable enough of cracking this is probably capable enough of composing a python script in the first instance...

GABRIELALEJANDROMESASALAMANCA
New Contributor

Works good enough for me, also still usable for arcmap which is important for me since most of my peers haven't moved to PRO, thank you

0 Kudos
DanPatterson
MVP Esteemed Contributor

scripts can also be encripted as in the case of *.pyt toolboxes

Comparing custom and Python toolboxes—ArcGIS Pro | Documentation

see additional security in the above thread


... sort of retired...