Jump to content

Cross site scripting


jbingman

Recommended Posts

I have just recently began to learn about cross site scripting and am worried about it. Is there anything I can do to make my login page and admin pages more secure? I realize it isn't very secure right now because its only in testing and construction right now. But I would like to get it safe before I put it up. Where can I find a place to help keep me safe from hacking? Because all my webpage is edited through the admin area.

Link to comment
Share on other sites

Make sure you filter all data from the user. Only trust the data which come from yourself. Make sure users are not allowed to post HTML tags. Make sure you escape all data from the users before you use it in a query (e.g. with mysql_real_escape_string()).

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.