Saturday, February 23, 2019

An Apple (script) security tip a day

"An apple a day keeps the doctor away" is a common English-language proverb.


Well... let's try a new twist :)

"An Apple (script) security tip a day keeps the cyberattacks away?" :))


Way too many times, careless script writing ends up in costly security breach attack. 

Take this simple example (see the URL link below)

Skipping PATH setting in shell script may yield security compromise. 

========

#!/bin/sh

ls /tmp

========

https://developer.apple.com/library/archive/documentation/OpenSource/Conceptual/ShellScripting/ShellScriptSecurity/ShellScriptSecurity.html

0 Comments:

Post a Comment

<< Home