Website coding

Discuss the many weaknesses of browser security and ways to mitigate the threat

Website coding

Post by Skormz on Thu Jun 18, 2009 6:58 am
([msg=25517]see Website coding[/msg])

i wanted to know, good techniques of keeping your site from be hacked, or at least to a knowledgeable limit.
ive surfed the net, for securing websites, but what is a good coding language to you? js, php, mysql, etc

thanks in-advance
"Forget about the past, Forget about the present, look to the future" - Skormz
"Life isnt always as you plan it. but you can atleast try to make it your way" - Skormz
Skormz
New User
New User
 
Posts: 5
Joined: Wed Apr 15, 2009 9:48 am
Blog: View Blog (0)


Re: Website coding

Post by thedotmaster on Mon Jul 20, 2009 7:50 am
([msg=27020]see Re: Website coding[/msg])

Depends on what you want to do.
JavaScript is used for making things pretty, it should never be used for authorisation because it can be disabled, altered and read by the user.
PHP is a good server-side scripting language though personally I prefer the power of CGI.
MySQL is a database server - you query it with SQL which is sent from a server side script, such as PHP.

In terms of stopping a site from "being hacked", there is one important rule to remember: "think twice, and never give your user more power than is required". Act as if everyone who will use your site is potentially malicious - validate and cleanse every scrap of input.
Image
User avatar
thedotmaster
Contributor
Contributor
 
Posts: 984
Joined: Sun May 04, 2008 4:39 pm
Location: North West UK
Blog: View Blog (1)



Return to Web

Who is online

Users browsing this forum: No registered users and 0 guests