There are two types of website hacking:
- Hacking to break into password protected sections of the website. (Often Illegal)
- Hacking so that you can modify or deform a website. NOTE: Criminal Offence
Recently 2 dummy bank sites were launched, the first totally insecure and the second was secured with a firewall. 8 weeks later, both sites were checked. The first without a firewall, averaged a hacking attempt every four minutes, the second, with a firewall, averaged an attack every hour. This just goes to prove how malicious some hackers are.
On this website you will find nothing of such a malicious nature. Building positive white hat hacking skills is a good thing and we encourage it, as do we helping you protect your own site, but bad hat hackers should find a better hobby.
- Starting Out :-To understand how to protect your site you must first understand how the hackers attempt to hack.
Example number 2 will show you how frames can help prevent hackers.
Use frames.This prevents viewing of the source from the top of the page. Note: This can be circumvented by using browser history.
Encrypt the frames page.Encryption can stop hackers altogether. By using multiple encryption programs sources become unreadable. Note: Even encryption can be beaten.
As you can see none of these methods are fool-proof. If you are serious about protecting your code, but don’t want to spend lots of money, and can use PHP, check out