Jump to content

How secure is unauthorised PHP email and comments???


bubster119

Recommended Posts

Hi, I'm at the design stages of design a portfolio site and am thinking of incorporating a PHP "email this link" function, so that users can email the page url to friend etc.

My question is how secure is this function? can I expect for spammers to hack my site and abuse this function or am I being paranoid? I've noticed on some sites that allow anonymous commenting that they sometimes become populated by viagra adds and the usuall crap. I don't really want to include an image verification script, would it make any difference if the "email this link" function had a flash front-end?

Any advice or suggestions for further reading would be appreciated as i'm pretty new to PHP.

Cheers
Link to comment
Share on other sites

I don't see an issue. As long as the mail function is handled on the back end and you only allow them to email the link (and possibly a very short message) I don't see why a spammer would want to use it. Why would they be interested in sending a link to your site to thousands of people. Just make sure that any user input text is short, is stripped of html formatting,  and cannot be injected.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.