Hello! A simple website for 3-4 pages, a database is possible, there is no forum. I would like to organize protection against all kinds of bugs and worms, unwanted actions, etc. Where to begin? What to read? Where to look (examples of implementation)? Tell me. Thank.
- Make a website on Wordpress or Wiki. Why study protection, if 3-4 pages? - yapycoder
- fourThere is a refrigerator with 10-12 products. Jam is possible. How to start baking a cake? I can only list a DB with you a dozen. And in each of them there are a hundred more functions. And there may be heki everywhere ... You better study what you want to write more thoroughly (in addition to the usual docks, drip these your google for individual articles), then write your 4 pages and put it into the appropriate topic of the achat - Alexey Berezuev
- On the other hand, why should anyone even need to hack a website consisting of 3-4 pages? What could be so valuable on it? Well, in general, about the validation and sanitization of data should be read. - PaulD
- one@yapycoder, lol, wtf!? WordPress? You are joking? Every month, a whole bunch of different holes are found in this “cemeské”, which in turn create another ... - Salivan
|
2 answers
- SQL Injection
- Xss attack
|
- If you are afraid of SQL Injection, use PDO + prepare.
- Watch for include if the connected file depends on user actions. The easiest way to secure yourself is by using the switch statement.
- All incoming data is converted into special characters perd by writing to the database and after removing from the database for complete paranoia :).
- Do not worry. The best protection is a backup. If you are not hacked, then you are not engaged.
|