Expert Answer Center > Experts On Demand > View Answer
EMAIL THIS
Experts on Demand
  EXPERTS ON DEMAND HOME     POSE A QUESTION     VIEW ANSWERS     BROWSE BY TOPIC        RSS FEEDS  
I want to protect against Web password sniffing, but don't want to drive the server to its knees by using SSL unnecessarily. How can you force all Web user authentication to be done through SSL (https) and then automatically break out of SSL (back to http) following authentication for maximum performance? QUESTION POSED ON: 24 FEB 2005
QUESTION ANSWERED BY: Andre Guirard I want to first give a disclaimer that I'm not really a HTTP security expert, but here's a way I think will work. You have to use session-based authentication (read about it in the help), because if you use browser-based authentication, the browser resends the login information with each page request. So you'll need a login form for the session-based login (the templates that come with Domino include an example), and I suppose put a $$Return field on it that redirects them to a URL that begins http:.

Of course, if someone is sniffing your line, then it can be almost as damaging to send the normal application data in the clear as it is to send passwords in the clear. After all, it's that private data you're trying to protect, right?

If security is a serious concern, then don't skimp on it. Get the hardware you need to make it really secure, not just sorta secure. If the encryption becomes a performance bottleneck, you can add Domino servers in a cluster (or buy more muscular servers, such as iSeries and up) to scale up to the number of users you need to support. Or use something that's less of a burden on the server (e.g., put it behind a firewall and let users access it via VPNs).

Other things you can do to limit the performance impact of SSL or other encryption are the usual performance-related Web site design practices for dealing with slow connections:

  • Make your graphics small (file size).

  • Make sure to have just one copy of each graphic, JavaScript resource, CSS and so on to maximize opportunities for browser caching.

  • Don't use in-line stylesheets or in-line JavaScript if it's the same on multiple pages. SRC= is your friend.

  • Do your input validations in JavaScript on the browser as much as possible, to limit the number of submits.

  • Use DHTML to update information on the current page rather than fetching a whole new page.

  • DHTML is also a good substitute for image rollovers -- you can get some very nice effects just changing the style of an element rather than loading two alternate graphics for each navigator image.

  • Use data binding to let users navigate thru lots of information in a single page.

  • Use CSS rather than having lots of formatting tags within the page HTML, so that the HTML of the page is smaller.

  • Make a few larger pages rather than a bunch of smaller pages. A scroll bar is not necessarily an instrument of the devil.

  • Framesets can help reduce the amount of data sending required -- but it's more difficult to make them accessible, so use with caution
HomeExperts on DemandIT Expert Webcast SeriesExpert KnowledgebaseSite Index
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts