Preface
Org Babel takes the advantage of emacs, which allows to save files as sudo. The syntax is a bit similar on how emacs opens files with sudo as it is for Org Babel: "/sudo::/path/to/your/file"
Example
References
How to make Org-Babel support tangel to su/sudo file with tramp-sudo?