<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Philhosting Company Blog &#124; Internet Articles &#124; Updates &#124; Tips &#38; Tricks &#187; ajax</title>
	<atom:link href="http://blog.philhosting.net/tag/ajax/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.philhosting.net</link>
	<description>Philhosting Company Blog&#124; Internet Articles &#124; Updates &#124; Tips &#38; Tricks</description>
	<lastBuildDate>Sun, 11 Sep 2011 01:40:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>10 Auto Complete Ajax Scripts</title>
		<link>http://blog.philhosting.net/articles/10-auto-complete-ajax-scripts.html</link>
		<comments>http://blog.philhosting.net/articles/10-auto-complete-ajax-scripts.html#comments</comments>
		<pubDate>Sat, 17 May 2008 13:33:15 +0000</pubDate>
		<dc:creator>Root</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=26</guid>
		<description><![CDATA[In 2005 when Google implemented Google Suggest, Ajax took off. Every web developer was trying to duplicate what Google accomplished. Its now 2008 and there are tons of ways to accomplish Google Suggest. Below is a list of 10 Auto Complete Scripts with various frameworks. The list below is in no particular order. jqac &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>In 2005 when Google implemented Google Suggest, Ajax took off. Every web developer was trying to duplicate what Google accomplished. Its now 2008 and there are tons of ways to accomplish Google Suggest. Below is a list of 10 Auto Complete Scripts with various frameworks. The list below is in no particular order.</p>
<p><span id="more-26"></span></p>
<ol>
<li><strong><a title="jqac" href="http://code.google.com/p/jqac/" target="_blank">jqac </a></strong> &#8211; Is jQuery plugin for autocomplete. jqac is very easy to implement and has a scrollable suggests list. It also allows for multiple suggests support and is tested in all major browsers.</li>
<li><strong><a title="AutoComplete" href="http://webeaters.blogspot.com/2007/11/ajax-powered-autocomplete-for-prototype.html" target="_blank">AutoComplete (for Prototype)</a></strong> &#8211; This is a script built for the prototype framework and it allows multiple column support. It also is a very nice style built with it.</li>
<li> <strong><a title="YUI Autocomplete" rel="bookmark" href="http://developer.yahoo.com/yui/autocomplete/" target="_blank">YUI Autocomplete</a></strong> &#8211; This script is built with the Yahoo! UI Library. The AutoComplete features navigation of the suggestion box via up/down arrow keys. It is very easy to configure with the Yahoo! UI Library.</li>
<li><strong><a title="Ajax Autocomplete" href="http://www.jimroos.com/2007/05/ajax-autocomplete.html" target="_blank">AJAX autocomplete</a></strong> &#8211; Is built with Easy Ajax framework by Jim Roos.  It features the the up and down navigation and is fairly easy to implement.</li>
<li><strong><a title="Autocomplete" href="http://www.beauscott.com/examples/autocomplete/" target="_blank">Another AutoComplete (prototype)</a> </strong>- This prototype framework autocomplete also uses scriptaculous. It has a nice fade in effect when the suggest box appears. It is easy to implement and works with XML data.</li>
<li><strong><a title="autocomplete mootools" href="http://digitarald.de/playground/auto2.html" target="_blank">AutoComplete (mootools)</a> </strong>- A MooTools Autocomplete widget that creates a unobtrusive and customizable suggestion box from variable data sources. It also has nice fade in effect.</li>
<li><strong><a title="dhtmlxCombo" href="http://dhtmlx.com/docs/products/dhtmlxCombo/index.shtml" target="_blank">dhtmlxCombo</a></strong> &#8211; Is a different from the rest of these. dhtmlxCombo can be used in four modes: an editable select box, a read-only select box, a filter drop down box, and an autocomplete. It also allows for you to add icons to your drop down boxes.</li>
<li><strong><a title="AutoSuggest" href="http://www.brandspankingnew.net/archive/2006/08/ajax_auto-suggest_auto-complete.html" target="_blank">AutoSuggest</a></strong> &#8211; This AutoSuggest script uses no frameworks. The script allows you to navigate either with the up or down arrows or just click. The script size is under 10k, it even has a fade in effect, and a great 2.0 style.</li>
<li><strong><a title="Spry Auto Suggest" href="http://labs.adobe.com/technologies/spry/samples/autosuggest/SuggestSample.html" target="_blank">Spry Auto Suggest</a></strong> &#8211; This Auto Suggest script is written with Adobe’s spry framework. It has works with all sorts of data formats and languages. It supports keyboard navigation and also allows for multiple suggestions.</li>
<li><strong><a title="asp.net AutoComplete" href="http://lvildosola.blogspot.com/2007/01/how-to-get-smartautocompleteextender.html" target="_blank">ASP.Net AutoComplete</a></strong> &#8211; This script allows you to add AutoComplete to ASP.Net without using a webservice. This is a great way to add Autocomplete feature to ASP.net</li>
</ol>
<p>If you would like to add more to this list then please comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philhosting.net/articles/10-auto-complete-ajax-scripts.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Programing Cheat Sheets</title>
		<link>http://blog.philhosting.net/articles/programing-cheat-sheets.html</link>
		<comments>http://blog.philhosting.net/articles/programing-cheat-sheets.html#comments</comments>
		<pubDate>Sat, 17 May 2008 13:18:38 +0000</pubDate>
		<dc:creator>Root</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[cheat]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://philhosting.net/articles/?p=23</guid>
		<description><![CDATA[After learning a few programing languages it gets hard remembering all of the functions and properties that programing languages come with. Below is a list of Cheat sheets to make your coding experience much easier and faster. The list is categorized by languages. ActionScript ActionScript Cheat Sheet &#8211; Covers everything from ActionScript 2.0 to ActionScript [...]]]></description>
			<content:encoded><![CDATA[<p>After learning a few programing languages it gets hard remembering all of the functions and properties that programing languages come with. Below is a list of Cheat sheets to make your coding experience much easier and faster. The list is categorized by languages.</p>
<p><span id="more-23"></span></p>
<h3>ActionScript</h3>
<ul>
<li><a title="ActionScript Cheat Sheet" href="http://actionscriptcheatsheet.com/blog/quick-referencecheatsheet-for-actionscript-20" target="_blank"><strong>ActionScript Cheat Sheet</strong></a> &#8211; Covers everything from ActionScript 2.0 to ActionScript 3.0 and Even Adobe AIR.</li>
</ul>
<h3>Ajax/JavaScript Frameworks</h3>
<ul>
<li><strong><a title="Prototype Cheat Sheet" href="http://www.snook.ca/archives/javascript/prototype_1_5_0_cheatsheet/" target="_blank">Prototype Cheat Sheet</a></strong> &#8211; Detailed methods and properties of each of the modules within the Prototype JavaScript library.</li>
<li><a href="http://slash7.com/cheats/scriptaculous_fx1.pdf"><strong>Scriptaculous Cheat Sheet</strong></a> &#8211; List of the Effects.</li>
<li><a title="MooTools Cheat Sheet" href="http://mediavrog.net/blog/2007/06/15/mootools/mootools-cheat-sheet/" target="_blank"><strong>MooTools Cheat Sheet</strong></a> &#8211; Details of the MooTools Library.</li>
<li><strong><a title="jQuery Cheat Sheet" href="http://www.gscottolson.com/weblog/2008/01/11/jquery-cheat-sheet/" target="_blank">jQuery Cheat Sheet</a></strong> &#8211; Details of the jQuery Library version 1.2.x.</li>
<li><a title="YUI Cheat Sheet" href="http://developer.yahoo.com/yui/" target="_blank"><strong>YUI Cheat Sheet</strong></a> &#8211; This cheat sheet is straight from Yahoo and the download link is at the bottom of the page or you can download the zip file <a title="Cheat Sheet" href="http://developer.yahoo.com/yui/docs/assets/cheatsheets.zip" target="_blank">here</a>.</li>
</ul>
<h3>ASP</h3>
<ul>
<li><a title="ASP/VBScript Cheat Sheet" href="http://www.ilovejackdaniels.com/cheat-sheets/asp-vbscript-cheat-sheet/" target="_blank"><strong>ASP/VBScript Cheat Sheet</strong></a> &#8211; Everything you want or need to know about ASP and VBScript.</li>
</ul>
<h3>CSS</h3>
<ul>
<li><strong><a href="http://refcards.com/docs/deepx/css1/CSS1.pdf" target="_blank">CSS level 1</a></strong> &#8211; Includes Fonts, Backgrounds, Text, Box, and Units</li>
<li><strong><a href="http://refcards.com/docs/jungb/css2/css2.pdf" target="_blank">CSS level 2</a></strong> &#8211; Includes Box Model, Print, Fonts, Visual Effects, Pseudo Classes and Elements.</li>
<li><strong><a href="http://www.veign.com/downloads/guides/qrg0007.pdf" target="_blank">CSS 2 Quick Reference Guide </a></strong> &#8211; Shows you examples on how to use a wide variety of classes</li>
<li><strong><a title="CSS Cheat Sheet" href="http://www.ilovejackdaniels.com/cheat-sheets/css-cheat-sheet/" target="_blank">CSS Cheat Sheet </a></strong> &#8211; Lists all selectors (as of CSS 2.1) and properties.</li>
<li><strong><a href="http://www.blooberry.com/indexdot/css/propindex/all.htm" target="_blank">CSS Property Index</a></strong> &#8211; Lists all CSS Properties Alphabetically</li>
<li><strong><a href="http://www.dustindiaz.com/css-shorthand/" target="_blank">CSS Shorthand Guide</a></strong> &#8211; A fairly detailed guide of CSS Shorthand properties</li>
</ul>
<h3>C# and VB.NET</h3>
<ul>
<li><strong><a href="http://aspalliance.com/625" target="_blank">C# and VB.NET Comparison Cheat Sheet</a></strong> &#8211; Cheat sheet that highlights some key syntactical differences between C# and VB.NET.</li>
<li><strong><a title="C# Basic Reference Sheet" href="http://www.dreamincode.net/downloads/ref_sheets/csharp_basics_reference_sheet.pdf" target="_blank">C# Basic Reference Sheet</a></strong> &#8211; A Brief Cheat sheet to give you the basics of C#.</li>
<li><a title="VB.NET Basic Reference Sheet" href="http://www.dreamincode.net/downloads/ref_sheets/vbnet_basics_reference_sheet.pdf" target="_blank"><strong>VB.NET Basic Reference Sheet</strong></a> &#8211; A Brief Cheat sheet to give you the basics of VB.NET.</li>
</ul>
<h3>C++</h3>
<ul>
<li><strong><a href="http://www.linuxsoftware.co.nz/cppcontainers.html" target="_blank">C++ Cheat Sheet</a></strong> &#8211; This Cheat Sheet shows a list of C++ Containers</li>
<li><strong><a href="http://downloads.dreamincode.net/ref_sheets/cpp_reference_sheet.pdf" target="_blank">C++ Quick Reference Sheet</a></strong> &#8211; Is a Basic Cheat Sheet that doesn’t go that in depth.</li>
</ul>
<h3>JavaScript</h3>
<ul>
<li><strong><a title="JavaScript Cheat Sheet" href="http://www.ilovejackdaniels.com/cheat-sheets/javascript-cheat-sheet/" target="_blank">JavaScript Cheat Sheet </a></strong> &#8211; The JavaScript cheat sheet is designed to act as a reminder and reference sheet, listing methods and functions of JavaScript.</li>
<li><strong><a title="JavaScript Quick Reference" href="http://www.dannyg.com/ref/jsquickref.html" target="_blank">JavaScript Quick Reference</a></strong> &#8211; Consists of the JavaScript and Browser Objects Quick Reference.</li>
<li><a href="http://www.visibone.com/regular-expressions/"><strong>Regular Expressions for JavaSript</strong></a> &#8211;  Excerpts of the VisiBone JavaScript references</li>
</ul>
<h3>SQL</h3>
<ul>
<li><a title="SQL Cheat Sheet" href="http://www.3gwt.net/demo/SQL_redux.html" target="_blank"><strong>SQL Cheat Sheet</strong></a> &#8211; A very Basic SQL Cheat sheet but gives you all the necessary data.</li>
<li><a title="SQL Server Cheat Sheet" href="http://www.ilovejackdaniels.com/cheat-sheets/sql-server-cheat-sheet/" target="_blank"><strong>SQL Server Cheat Sheet</strong></a> &#8211; Cheat Sheet to Microsoft’s SQL Server.</li>
<li><a title="MySQL Cheat Sheet" href="http://www.ilovejackdaniels.com/cheat-sheets/mysql-cheat-sheet/" target="_blank"><strong>MySQL Cheat Sheet</strong></a> &#8211;  A quick reference guide for MySQL, including functions (both in MySQL and PHP), data types, and sample queries.</li>
</ul>
<h3>PHP</h3>
<ul>
<li><strong><a title="PHP Cheat Sheet" href="http://www.ilovejackdaniels.com/cheat-sheets/php-cheat-sheet/" target="_blank">PHP Cheat Sheet</a></strong> &#8211; This is an in depth cheat sheet for PHP.</li>
<li><a title="PHP Reference Sheet" href="http://www.dreamincode.net/downloads/ref_sheets/php_reference_sheet.pdf" target="_blank"><strong>PHP Reference Sheet</strong></a> &#8211; This Sheet gives you basic functions for PHP but useful.</li>
</ul>
<p>If you have any more to add to this list than please comment below. Also if you would like other languages added please comment below</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philhosting.net/articles/programing-cheat-sheets.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Javascript and AJAX Security &#8211; How to Make Your Website Safe</title>
		<link>http://blog.philhosting.net/articles/javascript-and-ajax-security-how-to-make-your-website-safe.html</link>
		<comments>http://blog.philhosting.net/articles/javascript-and-ajax-security-how-to-make-your-website-safe.html#comments</comments>
		<pubDate>Sun, 06 Jan 2008 09:40:43 +0000</pubDate>
		<dc:creator>Root</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[asynchronous applications]]></category>
		<category><![CDATA[asynchronous javascript and xml]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[open source applications]]></category>

		<guid isPermaLink="false">http://articles.philhosting.net/?p=4</guid>
		<description><![CDATA[Beneath the peppy front ends of many of todays Rich Internet Applications lies a dark flaw that if left unchecked can bring a site down to it&#8217;s knees. For the past few years many designers and developers have been adding AJAX and Javascript functionality to there websites. Many of these websites suffer from threats such [...]]]></description>
			<content:encoded><![CDATA[<p>Beneath the peppy front ends of many of todays Rich Internet Applications lies a dark flaw that if left unchecked can bring a site down to it&#8217;s knees. For the past few years many designers and developers have been adding AJAX and Javascript functionality to there websites. Many of these websites suffer from threats such as, cross site scripting (also known as XSS), cross-site request forgery (XSRF), and several other well know exploits. Maybe your using one of the popular libraries such as, Prototype and Script.aculo.us, or Dojo and think You&#8217;re safe. Think again. Unless you&#8217;ve implemented security fixes you may be vulnerable to several types of attacks. The same goes for blog plugins, popular open source applications, and of-course the plethora of free Javascript and AJAX add-ons available at free script websites. If you want to protect yourself, please read on.</p>
<p><span id="more-4"></span><br />
Below you&#8217;ll find a list of the sites I&#8217;ve visited to learn more about Javascript and AJAX security. Please let me know through email or a comment if you know of any other great security resources, and I&#8217;ll be glad to post them. Most of the descriptions below are taken from the developers of the example. Thanks, Max.</p>
<h3>AJAX Security Articles</h3>
<p><a href="http://www.whitehatsec.com/home/resources/articles/files/myth_busting_ajax_insecurity.html" title="Ajax Security: Stronger than Dirt?"> Ajax Security: Stronger than Dirt?</a><br />
&#8220;Ajax allows the development of more feature rich, asynchronous applications, but in doing so opens up new possibilities for attackers. We look at the relevant security issues and their possible solutions. Ajax (Asynchronous JavaScript and XML) lurched into being in 2005. As a web services model, Ajax is touted as the next big thing by many who work in web development. Like all big things however, Ajax is not without its faults, one of the most pronounced being that not many people actually know what Ajax is, and what potential risks could be introduced into enterprise environments by embracing it. This article examines what Ajax is, the security implications for Ajax applications, and details a range of potential attack vectors against this technology together with possible defences.&#8221;</p>
<p><a href="http://www.securityfocus.com/news/11456" title="Developers Warned to Secure AJAX Design">Developers Warned to Secure AJAX Design</a><br />
&#8220;Security firm Fortify Software has stepped forward to warn Web site developers that most frameworks for deploying interactive functionality use JavaScript in a way that could lead to their applications leaking user data. The problem, dubbed JavaScript hijacking by the firm, occurs because popular asynchronous JavaScript and XML (AJAX) toolkits use the scripting language as a transport mechanism without due consideration to security. The basic threat is that malicious Web sites could use cross-site request forgery (XSRF) to steal data from other AJAX-enabled Web applications, Fortify stated in a report released on Monday.&#8221;</p>
<p><a href="http://getahead.org/blog/joe/2007/03/05/json_is_not_as_safe_as_people_think_it_is.html" title="JSON is Not As Safe As People Think It Is">JSON is Not As Safe As People Think It Is</a><br />
&#8220;I saw some discussion recently about using JSON for secured data, and I&#8217;m not sure that everyone understands the risks. I believe that JSON is unsafe for anything but public data unless you are using unpredictable URLs. There are 2 problems. CSRF (Cross Site Request Fogery) allows attackers to bypass cookie based authentication. I blogged about it a while ago. Wikipedia talks about it. CSRF allows you to invoke cookie protected actions on a remote server. It allows Mr. Evil to trick Mrs. Innocent into transferring money from her bank account into his. Far less known perhaps, is the JSON/Array hack that allows a user to steal JSON data on Mozilla and any other platform with a modern JavaScript interpreter.&#8221;</p>
<p><a href="http://www.whitehatsec.com/home/resources/articles/files/myth_busting_ajax_insecurity.html" title="Myth-Busting AJAX (In)security">Myth-Busting AJAX (In)security</a><br />
&#8220;The hype surrounding AJAX and security risks is hard to miss. Supposedly, this hot new technology responsible for compelling web-based applications like Gmail and Google Maps harbors a dark secret that opens the door to malicious hackers. Not exactly true. Even the most experienced website developers and security experts have a difficult time cutting through the buzzword banter to find the facts. And, the fact is most websites are insecure, but AJAX is not the culprit. Although AJAX does not make websites any less secure, it&#8217;s important to understand what does.&#8221;</p>
<p><a href="http://search400.techtarget.com/qna/0,289202,sid3_gci1198365,00.html" title="New chapter and verse on Ajax security">New chapter and verse on Ajax Security</a><br />
&#8220;The increased use of Ajax has brought to the forefront concern about its security. Recognizing that this is an issue, the Open Web Application Security Project (OWASP) is updating its Guide to Building Secure Web Applications to include a separate chapter on Ajax. Andrew van der Stock, who is heading the Guide project and who also wrote the Ajax chapter, spoke with SearchAppSecurity.com recently about Ajax security and what risks developers need to be concerned about.&#8221;</p>
<p><a href="http://www.cgisecurity.com/articles/xss-faq.shtml" title="The Cross Site Scripting (XSS) FAQ">The Cross Site Scripting (XSS) FAQ</a><br />
&#8220;Websites today are more complex than ever, containing a lot of dynamic content making the experience for the user more enjoyable. Dynamic content is achieved through the use of web applications which can deliver different output to a user depending on their settings and needs. Dynamic websites suffer from a threat that static websites don&#8217;t, called &#8220;Cross Site Scripting&#8221; (or XSS dubbed by other security professionals). Currently small informational tidbits about Cross Site Scripting holes exist but none really explain them to an average person or administrator. This FAQ was written to provide a better understanding of this emerging threat, and to give guidance on detection and prevention.&#8221;</p>
<p><a href="http://www.net-security.org/article.php?id=956&amp;p=1" title="Top 10 Ajax Security Holes and Driving Factors">Top 10 Ajax Security Holes and Driving Factors</a><br />
&#8220;One of the central ingredients of Web 2.0 applications is Ajax encompassed by JavaScripts. This phase of evolution has transformed the Web into a superplatform. Not surprisingly, this transformation has also given rise to a new breed of worms and viruses such as Yamanner, Samy and Spaceflash. Portals like Google, NetFlix, Yahoo and MySpace have witnessed new vulnerabilities in the last few months. These vulnerabilities can be leveraged by attackers to perform Phishing, Cross-site Scripting (XSS) and Cross-Site Request Forgery (XSRF) exploitation.&#8221;</p>
<h3>AJAX Security Tools</h3>
<p><a href="http://www.darknet.org.uk/2006/04/ajax-is-your-application-secure-enough/" title=" AJAX Secure Service Layer">AJAX Secure Service Layer</a><br />
&#8220;We see it all around us, recently. Web applications get niftier by the day by utilising the various new techniques recently introduced in a few web-browsers, like I.E. and Firefox. One of those new techniques involves using Javascript. More specifically, the XmlHttpRequest-class, or object.&#8221;</p>
<p><a href="http://assl.sullof.com/assl/" title="AJAX: Is Your Application Secure Enough?">AJAX: Is Your Application Secure Enough?</a><br />
&#8220;aSSL is a library distributed under MIT License thats implements a technology similar to SSL without HTTPS. aSSL enables the client to negotiate a secret random 128-bit key with the server using the RSA algorithm. Once the connection has been established, the data will be sent and received using AES algorithm. aSSL is composed of some Javascript files and a server side component. Because I have recently changed the negotiation algoritm from RC4 to RSA, only a pure Javascript (ASP) server component is currently available. I will do a porting for the main web languages (PHP, Java, Perl, Python, TKL, etc.) as soon as possible once the library has passed the beta phase.&#8221;</p>
<p><a href="http://getahead.org/blog/joe/2007/04/04/how_to_protect_a_json_or_javascript_service.html" title=" How to Protect a JSON or Javascript Service">How to Protect a JSON or Javascript Service</a><br />
&#8220;There have been lots of explanations recently of the dangers of JSON or JavaScript remoting. This post is about what you can do to protect your scripts.&#8221;</p>
<h3>DOM Security</h3>
<p><a href="http://www.webappsec.org/projects/articles/071105.shtml" title="DOM Based Cross Site Scripting or XSS of the Third Kind">DOM Based Cross Site Scripting or XSS of the Third Kind</a><br />
&#8220;We all know what Cross Site Scripting (XSS) is, right? It&#8217;s that vulnerability wherein one sends malicious data (typically HTML stuff with Javascript code in it) that is echoed back later by the application in an HTML context of some sort, and the Javascript code gets executed. Well, wrong. There&#8217;s a kind of XSS which does not match this description, at least not in some fundamental properties. The XSS attacks described above are either &#8220;non-persistent&#8221;/&#8221;reflected&#8221; (i.e. the malicious data is embedded in the page that is returned to the browser immediately following the request) or &#8220;persistent&#8221;/&#8221;stored&#8221; (in which case the malicious data is returned at some later time). But there&#8217;s also a third kind of XSS attacks &#8211; the ones that do not rely on sending the malicious data to the server in the first place! While this seems almost contradictory to the definition or to common sense, there are, in fact, two well described examples for such attacks. This technical note discusses the third kind of XSS, dubbed &#8220;DOM Based XSS&#8221;. No claim is made to novelty in the attacks themselves, of course, but rather, the innovation in this write-up is about noticing that these belong to a different flavor, and that flavor is interesting and important.&#8221;</p>
<h3>General Client-Side Component Security</h3>
<p><a href="http://www.securityfocus.com/infocus/1879" title="Hacking Web 2.0 Applications with Firefox">Hacking Web 2.0 Applications with Firefox</a><br />
&#8220;AJAX and interactive web services form the backbone of &#8220;web 2.0&#8243; applications. This technological transformation brings about new challenges for security professionals. This article looks at some of the methods, tools and tricks to dissect web 2.0 applications (including Ajax) and discover security holes using Firefox and its plugins.&#8221;</p>
<p><a href="http://www.thesamet.com/blog/2007/01/16/prepare-for-attack%E2%80%94making-your-web-applications-more-secure/" title="Prepare for Attack!--Making Your Web Applications More Secure">Prepare for Attack!&#8211;Making Your Web Applications More Secure</a><br />
&#8220;Arm yourself and prepare for battle! This post is intended as a reminder about the possible security attacks your Web application may be vulnerable to. While it is not meant as a comprehensive guide to Web-application security, it can give you some ideas on how to better protect your applications.&#8221;</p>
<p><a href="http://www.informit.com/articles/article.aspx?p=603037&amp;rl=1" title="XSS, Cookies, and Session ID Authentication - Three Ingredients for a Successful Hack">XSS, Cookies, and Session ID Authentication &#8211; Three Ingredients for a Successful Hack</a><br />
&#8220;Cross site scripting (XSS) errors are generally considered nothing more than a nuisance &#8212; most people do not realize the inherent danger these types of bugs create. In this article Seth Fogie looks at a real life XSS attack and how it was used to bypass the authentication scheme of an online web application, leading to &#8220;shell&#8221; access to the web server.&#8221;</p>
<p><a href="http://www.securityfocus.com/infocus/1881" title="Vulnerability Scanning Web 2.0 Client-Side Components">Vulnerability Scanning Web 2.0 Client-Side Components</a><br />
&#8220;Web 2.0 applications are a combination of several technologies such as Asynchronous JavaScript and XML (AJAX), Flash, JavaScript Object Notation (JSON), Simple Object Access Protocol (SOAP), Representational State Transfer (REST). All these technologies, along with cross-domain information access, contribute to the complexity of the application. We are seeing a shift towards empowerment of an end-user&#8217;s browser by loading libraries.&#8221;</p>
<h3>Javascript Security Articles</h3>
<p><a href="http://www.alistapart.com/articles/secureyourcode" title="Community Creators, Secure Your Code!">Community Creators, Secure Your Code!</a><br />
&#8220;Personalization is a great feature&#8211;it allows users to make their personal pages come to life by adding colors, pictures, and even sound&#8211;but as with any user input, it is a security threat if not properly sanitized. The creation of a secure online community is a balancing act: your users should be able to personalize their pages using pseudo code or actual HTML, while remaining protected from vandals who might inject malicious JavaScript or otherwise cause harm. One piece of the larger security puzzle is cross-site scripting (XSS). In part one of this two-article series, we will look at various XSS techniques you should be aware of, and at common methods of defending your community against them. In part two, we&#8217;ll use real-world examples to explore these techniques in greater detail.&#8221;</p>
<p><a href="http://www.spidynamics.com/spilabs/education/articles/JS-portscan.html" title="Detecting, Analyzing, and Exploiting Intranet Applications using JavaScript">Detecting, Analyzing, and Exploiting Intranet Applications using JavaScript</a><br />
&#8220;Imagine visiting a blog on a social site or checking your email on a portal like Yahoo&#8217;s Webmail. While you are reading the Web page JavaScript code is downloaded and executed by your Web browser. It scans your entire home network, detects and determines your Linksys router model number, and then sends commands to the router to turn on wireless networking and turn off all encryption. Now imagine that this happens to 1 million people across the United States in less than 24 hours. This scenario is no longer one of fiction. &#8221;</p>
<h3>Javascript Security Tools</h3>
<p><a href="http://www.howtocreate.co.uk/tutorials/javascript/security" title="Javascript Security Tutorial">Javascript Security Tutorial</a><br />
&#8220;JavaScript has its own security model, but this is not designed to protect the Web site owner or the data passed between the browser and the server. The security model is designed to protect the user from malicious Web sites, and as a result, it enforces strict limits on what the page author is allowed to do. They may have control over their own page inside the browser, but that is where their abilities end.&#8221;</p>
<p><a href="http://groups.google.com/group/Google-Web-Toolkit/web/security-for-gwt-applications" title="Security for GWT Applications">Security for GWT Applications</a><br />
&#8220;It is a sad truth that JavaScript applications are easily left vulnerable to several types of security exploits, if developers are unwary. Because the Google Web Toolkit (GWT) produces JavaScript code, we GWT developers are no less vulnerable to JavaScript attacks than anyone else. However, because the goal of GWT is to allow developers to focus on their users&#8217; needs instead of JavaScript and browser quirks, it&#8217;s easy to let our guards down. To make sure that GWT developers have a strong appreciation of the risks, we&#8217;ve put together this article..&#8221;</p>
<p><a href="http://weblogs.java.net/blog/gmurray71/archive/2006/09/preventing_cros.html" title="Preventing Cross Site Scripting Attacks">Preventing Cross Site Scripting Attacks</a><br />
&#8220;Cross site scripting (XSS) is basically using JavaScript to execute JavaScript from an unwanted domain in a page. Such scripts could expose any data in a page that is accessible by JavaScript including, cookies, form data, or content to a 3rd party. Here is how you can prevent your web pages from being exploited on both the client and the server. This is followed with tips on how to avoid vulnerable sites.&#8221;</p>
<h3>Javascript Encryption</h3>
<p><a href="http://pajhome.org.uk/crypt/md5/" title="Cryptography: JavaScript MD5">Cryptography: JavaScript MD5</a><br />
&#8220;Over the web, JS cryptography can only protect against passive eavesdropping, as the JavaScript itself is downloaded over an insecure link. If an attacker can modify network traffic, they can make malicious changes to the JavaScript code. In any case, JS interpreters are not designed for secure programming. They may leave sensitive information lying about in memory. They&#8217;re too slow for some algorithms, e.g. BSD-style MD5 passwords, or RSA with full-size keys. Bitwise operations are buggy in several implementations.&#8221;</p>
<p><a href="http://home.zonnet.nl/MAvanEverdingen/Code/" title="JavaScript Encryption Program">JavaScript Encryption Program</a><br />
&#8220;This page includes an open source JavaScript implementation of the RC4, AES, Serpent, Twofish, Caesar and RSA ciphers. Ciphers can encrypt and decrypt information such that persons who do not know the password (the decryption key) can not read it. The implemented ciphers are strong enough to protect important information such as your passwords and PIN numbers. &#8220;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philhosting.net/articles/javascript-and-ajax-security-how-to-make-your-website-safe.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

