News for hackers. Stuff that matters.

Ask HN: Primer on Web Security

What reading would you recommend to get started learning about security? Maybe the basics about protecting your site from attacks would be good...
( 6 comments | 2 points | on HN )
Re:Ask HN: Primer on Web Security by tptacek on Wednesday June 03, 2009 @02:41PM (#640185)
I like Dafydd Stuttard's "The Web Application Hacker's Handbook", despite the title. Work through the examples.

A lot of people will direct you to OWASP, which is not a bad free tertiary source (owasp.org). There's lots of HOWTO stuff there. Be careful about the OWASP Top 10. You want to know what it is, but it's showing its age.

Re:Ask HN: Primer on Web Security by pasbesoin on Wednesday June 03, 2009 @03:42PM (#640265)
While looking at the recommendation, I noted that the book's website has a page of links to tools:

http://portswigger.net/wahh/tools.html

Nothing eyebrow raising, but if you're starting out, worth knowing about.

Re:Ask HN: Primer on Web Security by tptacek on Wednesday June 03, 2009 @03:45PM (#640275)
Portswigger is the author of Burp, which is the industry standard web application testing tool. Almost everyone I know in the field uses it.
Re:Ask HN: Primer on Web Security by progLiker on Thursday June 04, 2009 @07:26AM (#641229)
Hindsightly I'd start by reading a book about internet security. The only sound thing is to start with a book, giving an overview of the matter and gather information from that point onwards. Most rational thing to do. That's my recommendation.

You wanted to protect your site from attacks: I found a pdf document on the net quite informative: "ethical hacking"(pdf). It covers packet, transport and network layer security up to "google" hacking. It is broken on [http://www.scribd.com], but there are several other similar guides there. And it is out there I found it via google.

There are some good documents at defcon.org as well, I read one about firewalling which was impressive.

You must go elsewhere for cgi security issues, protocols, encryption and all that.

Re:Ask HN: Primer on Web Security by alanthonyc on Wednesday June 03, 2009 @06:02PM (#640544)
Awesome, thanks for the tips everyone. So much to learn, so little time.
Re:Ask HN: Primer on Web Security by noodle on Wednesday June 03, 2009 @02:02PM (#640119)
hacker's handbook was where i started.