Website Security Tips
LiamDonohue (168)

Website Security Tips:

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


Because someone can easily view your code by entering the file name after the URL
such as

#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

aka sanitize input. Find out more about sanitation here

#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 (989)

What exactly do you mean by the top one?

LiamDonohue (168)

users don't need to know the file names especially users who may mess it up @Highwayman

Highwayman (989)

@LiamDonohue but what do you mean by include file extentsions?

LiamDonohue (168)

like: @Highwayman

Highwayman (989)

@LiamDonohue OOHHH!! Oh! Ok! I see ok thank you :)

adityaru (73)

@LiamDonohue Wait, how do you remove it?

Highwayman (989)

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