Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have a form submission page that needs to be posted on to our company's public website.The form itself is simple, basically gathers info and on submission sends a confirmation email to both company email address and the CC's sender. I need suggestions as to how best I can make it secure? I have a simple piece of code that handles spambots, but wanted to check if there is a way to make it more secure (User authentication is not necessarily reqd..but would implement it if that the only option to make the system secure)..Any thoughts, suggestions are welcome. Thanks.
Posted
Updated 12-Nov-15 9:37am
Comments
ZurdoDev 12-Nov-15 12:00pm    
Secure from what?
Rajesh_1980 12-Nov-15 12:26pm    
secure from spam mails and hackers as the form itself does not require any user authentication.
ZurdoDev 12-Nov-15 13:00pm    
You can use captcha for spammers. For hackers, make sure you use sql parameters.
Afzaal Ahmad Zeeshan 12-Nov-15 15:19pm    
Virtual 5! :D

1 solution

As mentioned in the comments, you can use captcha for protection against spammers and then for protection against SQL injection make sure to use sql parameters when you write the information to the database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900