Hello KeN,

Friday, December 14, 2001, KeN ClarK <[EMAIL PROTECTED]> wrote:

KC> i've looked through 'learning perl' 2nd edition, and am confused. much. i 
KC> want to create an interface for system users to update their .forward 
KC> files in their $HOME directories.

KC> I want this to be a web-based interface. The webmail program I am using is 
KC> openwebmail, and doesn't have this functionality, yet. 

KC> I can't be any more of a beginner. I am concerned heavily about security 
KC> also. What I envision is a page with a username and password submit 
KC> fields. If the user exists, and if the password is correct, then it will 
KC> let a field that user fills in their [EMAIL PROTECTED] and that writes to 
KC> their own $HOME/.forward. Also, if they clear the field, and submit, it 
KC> will write over any existing .forward, to disable .forwarding.

KC> If I can figure out the perl side of checking writing over the .forward, 
KC> I'd like to add this to openwebmail. 

KC> Ask away if you've question.

no questions, but it's usually admnistrator job, not cgi beginner...
1. http daemon usually runs on servers with uid=nobody and
group=nogroup. In correctly designed sites, httpd haven't any access to
users home files.
2. if you really want to do this, you should reconfigure your http
daemon. if your daemon is apache, read http://httpd.apache.org/docs-2.0/suexec.html

Best wishes,
 Maxim                            mailto:[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to