|Testing the Security of Your Website – Part 3|
Some programmers trust that users will access a webpage the way the developer intended. What if the user tries to manipulate and change variables? What will happen? This is something you must test on your website.
This subject is better explained through examples. Let’s say you have an online store where the user can see his order through a link such as http://www.yoursite.com/orders.php?id=12345. What happens if the user tries to change his order number to a different number on the URL? Will he be able to see orders posted by other clients? In a well-designed script, the user will only be able to see his own orders, and give an error message if the user tries to manually manipulate the variable.
On another example, let’s say you have a website with a link such as http://www.yoursite.com/article.php?id=12345, which we assume displays article number 12345 from your database. What happens if the user tries to change the variable to a number of an article that does not exist? On a well-designed script, it will display an error message, whereas on a poorly designed script the page will be displayed with the text missing, which is not desirable.
And what happens if the user tries to manipulate the variable in a more drastic way? That is our next subject.
|Print Version | Send to Friend |
|| Page 1 of 3 | Next »
November 5, 2014 - 3:00 AM
November 4, 2014 - 3:00 AM
October 30, 2014 - 8:30 AM
October 29, 2014 - 3:00 AM
October 22, 2014 - 4:55 PM
October 15, 2014 - 7:00 PM
October 15, 2014 - 4:30 AM
October 14, 2014 - 4:10 AM
October 9, 2014 - 2:46 AM
October 7, 2014 - 2:50 AM
Our Most Popular Articles