Iron-Clad Java: Building Secure Web Applications by Jim Manico, August Detlefsen

By Jim Manico, August Detlefsen

Confirmed equipment for development safe Java-Based internet Applications
Develop, set up, and hold safe Java purposes utilizing the professional recommendations and open resource libraries defined during this Oracle Press consultant. Iron-Clad Java provides the techniques required to construct powerful and safe purposes from the beginning and explains find out how to get rid of current safeguard insects. most sensible practices for authentication, entry regulate, information security, assault prevention, errors dealing with, and lots more and plenty extra are incorporated. utilizing the sensible suggestion and real-world examples supplied during this authoritative source, you'll achieve useful safe software program engineering skills.

• determine safe authentication and consultation administration processes
• enforce a strong entry keep watch over layout for multi-tenant internet applications
• safeguard opposed to cross-site scripting, cross-site request forgery, and clickjacking
• guard delicate facts whereas it truly is kept or in transit
• hinder SQL injection and different injection attacks
• make certain secure dossier I/O and upload
• Use potent logging, mistakes dealing with, and intrusion detection methods
• persist with a entire safe software program improvement lifecycle

Show description

Read or Download Iron-Clad Java: Building Secure Web Applications PDF

Best java books

Ruby on Rails for PHP and Java Developers

The internet framework Ruby on Rails for constructing database established net purposes presents a Model-View-Controller framework. the necessary internet server WEBrick is incorporated with Ruby on Rails. The framework is configured with the MySQL database via default, yet should be configured with one other database.

The publication covers constructing net purposes with Ruby on Rails. applied sciences mentioned contain Ajax, listing providers, and internet prone. A comparability is made with personal home page, the main widely used scripting language for constructing net purposes.

Programming Spiders, Bots, and Aggregators in Java

The content material and providers to be had on the net remain accessed more often than not via direct human keep an eye on. yet this can be altering. more and more, clients depend on computerized brokers that retailer them effort and time via programmatically retrieving content material, appearing complicated interactions, and aggregating information from varied assets.

Java Database Programming with JDBC: Discover the Essentials for Developing Databases for Internet and Intranet Applications

Teaches you ways to increase Java courses, from begin to end, for connecting to databases utilizing Java's new database connectivity atmosphere, JDBC. Tells how one can simply set up drivers for many databases. encompasses a part on programming ODBC Java courses, together with a strong ODBC customer template for constructing your individual purposes.

The Java™ Class Libraries, Volume 2: java.applet, java.awt, java.beans (2nd Edition)

Because the definitive connection with the Java 1. 1. 2 model classification libraries, this ebook is a necessary source for either newbie and skilled Java programmers. This quantity offers accomplished reference documentation for the advance of applets, person interfaces, and Java beans. The programs lined in quantity 2 are: java applet, java awt picture, java awt, java awt peer, java awt facts move, java beans, java awt occasion.

Extra resources for Iron-Clad Java: Building Secure Web Applications

Sample text

Secure Cookie Properties for Session Management Since HTTP cookies are the primary way that most web applications save and transport the session identifier between the browser and your server, it is important to protect them as much as possible. There are two session cookie properties that are critical to good web application security. These are the Secure cookie flag and the HTTPOnly cookie flag. Secure cookies will only be transmitted by the browser via an HTTPS connection. Combine Secure cookies with HTTPS and Strict Transport Security and it becomes impossible to leak session cookies over a plain-text transport.

For example, you may wish to track which products a user has looked at so you can provide targeted advertising or otherwise change and improve the user experience. It’s important to note, however, that when you support anonymous sessions before a user logs in, an attacker can easily generate an active session ID at any time. If an attacker can trick a user into using a known session ID, it can Anonymous Authentication Anonymous Session Use a session to track pre-login behavior Start a new session after successful login Authorization Logout Authenticated Session Time out inactive sessions Set an absolute session timeout Terminate session on logout FIGURE 2-1.

The answer is no. It is critical that you deliver login forms over HTTPS. Why? do">

What is the harm if an adversary can see this data in transit? Absolutely none! All of this information is publicly available and an attacker could simply load up the form in his own browser and inspect it to his heart’s content. HTTPS is more than just confidentiality; it also provides integrity.

Download PDF sample

Rated 4.15 of 5 – based on 10 votes