Use "$@" instead of ${*} (see Special Parameters in the manual)
for f in "$@"; do
echo make sure you quote your "$variables" everywhere in the loop
# ...
There's a shorthand (and more portable) for this:
for f do ...
for f; do would also work in some shells but is not standard.