Skip to content
Fragmented Development

Latest Post

Creatively trying to prevent bash script execution

While working on a project, I was wondering if I could make it very difficult to execute a script. I'm creating bash functions in separate files, and they're replacing scripts that used to be executed directly. I am removing execute permissions, but some well-meaning future self might try and "fix" them by re-adding those permissions. Could I stop them from being executed in other ways?

Read the full post: Creatively trying to prevent bash script execution

Platform

My servers run a host of underlying software that allows me to host sites and applications:

  • Debian GNU/Linux
  • PHP
  • Python
  • Django
  • Nginx
  • OpenSSH
  • MariaDB
  • Postgres
  • Postfix
  • Dovecot
  • SpamAssassin
  • SQLite