You could use cgiwrap to execute the cgi as the user owning the webspace
instead of the webserver. First thing that comes to mind anyway.

http://freshmeat.net/projects/cgiwrap/

Andrew S. Zbikowski       | Home: 763.591.0977
http://www.ringworld.org  | PCS:  612.306.6055
They must not get baseball sized hail in Redmond.
If they did they would have realized HailStorm is
a bad name for their new services.