Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,156,558 members, 7,830,671 topics. Date: Friday, 17 May 2024 at 07:33 AM

How To Prevent A Website From Being Hacked - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How To Prevent A Website From Being Hacked (1282 Views)

Wants To Connect To A Locally Hosted Website From Another Computer / Procedures On How To Build Your Business Website From The Scratch / How To Make A Website From Scratch Using That Your Mobile Phone For Java Phones, (2) (3) (4)

(1) (Reply) (Go Down)

How To Prevent A Website From Being Hacked by ToyinDipo(m): 3:45pm On Jun 02, 2013
To all the good security concious programmers, please provide tips to protect a website from hackers.
Re: How To Prevent A Website From Being Hacked by ToyinDipo(m): 5:33pm On Aug 15, 2013
I'm into java.
Re: How To Prevent A Website From Being Hacked by afridigit(m): 11:12pm On Aug 16, 2013
Which language are we looking at here.
Re: How To Prevent A Website From Being Hacked by tundebabzy: 1:33pm On Aug 17, 2013
ToyinDipo: To all the good security concious programmers, please provide tips to protect a website from hackers.
Simple, learn about how to hack a website

1 Like

Re: How To Prevent A Website From Being Hacked by Nairaface: 5:46am On Aug 18, 2013
There is no foolproof way to protect your website, but sanitizing inputs at the client side is one way. Where are the security guys and gals on Nairaland?
Re: How To Prevent A Website From Being Hacked by Kidstell: 7:40pm On Aug 18, 2013
A perfect input validation-thats the best way to obey the certain rule of thumb which says never trust the user. Pls don't quote this rule on your site only in your codes(like twitter stylishly putting away the hacker). The tasking fact here is user input basically are html form elements sent through get or post. Javascript is the best yet weakest means of user input validation.
It becomes more difficult for a novice when you tell him that session variables are also a part of such inputs at the same time, sessions are susceptible via cookies. The address bar is just another loop hole that is mostly handled via .htaccess files. Its a line of serious business. I'm even considering the employment of a special staff to handle such. So other things will be done freely without panic. But i sincerely think what we should discuss are the best validation rules and regular expressions also url validation and control plus cookies and session validation
Re: How To Prevent A Website From Being Hacked by ToyinDipo(m): 8:06pm On Aug 18, 2013
Kidstell: A perfect input validation-thats the best way to obey the certain rule of thumb which says never trust the user. Pls don't quote this rule on your site only in your codes(like twitter stylishly putting away the hacker). The tasking fact here is user input basically are html form elements sent through get or post. Javascript is the best yet weakest means of user input validation.
It becomes more difficult for a novice when you tell him that session variables are also a part of such inputs at the same time, sessions are susceptible via cookies. The address bar is just another loop hole that is mostly handled via .htaccess files. Its a line of serious business. I'm even considering the employment of a special staff to handle such. So other things will be done freely without panic. But i sincerely think what we should discuss are the best validation rules and regular expressions also url validation and control plus cookies and session validation
Thanks bro, I would take note of those when I return to programming.
Re: How To Prevent A Website From Being Hacked by Kidstell: 12:57am On Aug 20, 2013
Since when did you quit coding. Well as an addition regular expressions are very good validator methods
Re: How To Prevent A Website From Being Hacked by ToyinDipo(m): 8:09am On Aug 20, 2013
early last year, I am presently working on oracle 11g db development.
Re: How To Prevent A Website From Being Hacked by adewasco2k(m): 6:49pm On Aug 21, 2013
I think the best way is to learn hacking then you will get a better view of it,....just as others have said validating all inputs is a MUST dont always trust what is coming from users/your website all inputs should be sanitized and validated.
Re: How To Prevent A Website From Being Hacked by Kidstell: 11:28am On Aug 23, 2013
How do you treat/validate/sanitize your session variables
adewasco2k: I think the best way is to learn hacking then you will get a better view of it,....just as others have said validating all inputs is a MUST dont always trust what is coming from users/your website all inputs should be sanitized and validated.
please kindly post 1||2 useful articles about hacking that can help to enhance security consciousness of a web app dev.

(1) (Reply)

I Feel Bored As My Skills In Programing Might Waste! / Do You Need An Ecommerce Android App (check Out Sample Screenshots Inside) / Swift Programming

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 17
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.