Jump to content

Javascript and Security


Rommeo

Recommended Posts

Hey Guys;

 

i was blogging by using online blog services. Since my blog become popular i decided to build my own website. I had coded a website by using php. But i dont have that much information about javascript.

 

So things that i wonder are;

1) Do you really need javascript for to make your website secure ?

2) What kind of things should i learn to make my website more secure ? My friend's advice about his question is :"hiding links by javascript(posting)" is there any other things that i should know ?

 

Of course i have chance to make domain redirection, wordpress etc. But my aim here is to learn something new.

So thanks in advance for your answers.

Link to comment
Share on other sites

Heh, got that backwards my friend. JavaScript is insecure. Never trust JS. It can be disabled & manipulated by any user. Any form of validation or security, must be performed by a server-side technology/programming language, like PHP. I think what he's talking about with 'hiding links' is cross-site scripting (or XSS). I recommend reading the following tutorial for a good insight into security...

 

http://www.phpfreaks.com/tutorial/php-security

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.