Is it possible to add an upload feature to the form? I have a need to allow users to attach a file before they send it to another user or email address. Thanks in advance.

Comments

seanr’s picture

Version: 5.x-1.12 » 5.x-1.x-dev
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Please only mark items critical if they involve serious problems (like a fatal PHP error).

This feature sounds potentially unwise to me; it'd be a very good way for someone to send malicious or excessively large files to another user. Why do you want this and how do you expect it to work?

jdlind38’s picture

I appreciate the concern about security. I posted a forum post http://drupal.org/node/249019 explaining what i'm trying to do with this feature. Thanks for the help.

seanr’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Looks pretty complicated and it's not something I have time to look into myself. If you're able to get anyone else to look at it and produce a patch, I'll consider adding it, but I'm not completely convinced it should even be added as a feature to the publicly released module due to the security issues. Seems more like a custom specific use case to me.