Best 4 ways to make your web applications secured

Preview:

Citation preview

Best 4 ways to make your web application secured.

Nurullah Vuiya

Introduction:

There may have many vulnerabilities in web applications.

If we are not conscious and do not take perfect steps to make our web application secured, it may be very tough to protect our web from hackers, thus way security experts have warned.

In this case, there are many ways but 4 ways of them are best as I see and those are as follows :

Being safe from SQL Injection

• Sql injection which is called Query parameterization in programming technique .

It is must to prevent untrusted input from being interpreted as SQL command. Using parameterized queries SQL Injection can be prevented.

Maintaining secured password storage

To maintain your data safely , it is necessary to ensure security of storing password .In this case I recommend you to use MD5 as encoding algorithm.

Keep secured Session Data

You should not keep sensitive information like passwords in a session as information of session is written to a temp directory. And in this case someone can write a script and read session data easily in shared server .

Protecting XSS AttackXSS Attack is a common attack based on code injection into vulnerable

web pages . In this case you can use strip_tags() to run input data .

And to show data in the browser ,You can apply htmlentities()function on the data.

Hopefully this will be very much effective ways to make your web application secured.

Best wishes to you to be a great developer on PHP.

Thank you for watching

Recommended