No such thing as a small change | |
PerlMonks |
Re: Security of Mail Scriptby Berik (Sexton) |
on Feb 08, 2004 at 23:12 UTC ( [id://327517]=note: print w/replies, xml ) | Need Help?? |
Yes, this is also what I am using for the new 'mailaform' script. It must be secure, unless ofcourse your database isn't secure (db password must not be readable for users). This will stop the e-mail scanners. The chance that soms spammer will try to send spam via a cgi script that is limited to only sending to one (or a few) e-mail addresses is a minimum. Be carefull with referer checking. This can be annoying for users who have explicitly chosen not to send the referer. Best bet is to check it only when it's there. Then you make the spamming only harder, less likely, but still your script is usable for everybody. --- Berik
In Section
Seekers of Perl Wisdom
|
|