Website Security Tips
LiamDonohue (167)

Website Security Tips:

#1: Don't Include file exstentions in your webpage

Why?

Because someone can easily view your code by entering the file name after the URL
such as mysite.com/script.js

#2: Host Your Databases on a separate server

Again, someone could tamper with it

#3: Don't allow javascript code to be entered in text boxes

Someone could completely screw up your website

#4: Name the file that has passwords stored in it something random, like Unclestevestacorecipe

any suggestions?

You are viewing a single comment. View All
Highwayman (963)

@adityaru
Option a) make a server to handle redirects
Option b) don’t name your files with file extensions.