Forum Moderators: coopster & phranque

Message Too Old, No Replies

need help with secure form-to-email script for Win

add code to my script that ensures form-to-email security

         

carla_b

2:33 pm on Mar 31, 2004 (gmt 0)



I currently have a perl script, for Win2000 server, that I wrote that takes form data and sends to a specific email account. It works great but I want to add security features so that spammers cannot hijack it and use it to send spam. I think I need to check the "referers" - to make sure mail is being sent from the valid ip address. Any help would be greatly appreciated.

DrDoc

7:01 pm on May 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

Checking the referrers does not provide anything but false security. It's much better to implement session functionality.

volatilegx

8:30 pm on May 10, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You could always hard-code the email addresses that it will mail to. Welcome to WebmasterWorld by the way :)