By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,959 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,959 IT Pros & Developers. It's quick & easy.

How To Make Website Secure From attacks?

P: 10
Hello Guyz....
As I am new to PHP and I am trying to make one website but I dont know how to make a website secure from different types of attacks .....

please suggest me some tricks or some ideas to make my website secure from injection attacks and all....

pls rply.........
May 4 '13 #1
Share this Question
Share on Google+
1 Reply


P: 1
Hello Roxit,

There was a time, when the internet was new, when webmaster would ask for credit card and other personal information to complete a sale through a simple web form. There was no security anyone with advanced technical knowledge can access the data. Today it is important to build a website which is highly secure from superfluous attacks. To create a website you can follow some tips that I found on Simplewebsitetutorials website which are as follows:

1.Use a PHP form to handle logins. At the start of the script validate the form. Add a check to see whether the user is logged in already. If so, abort the login process.

2.Create a pointer to the data base instead of letting the script access the database directly.

3.Set the session variable by using the set session method.
Jun 11 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.