as it Floating Billboard is possibl that on or more aspect of your inform secur mai be circumv or broken at ani timeIt is import to have defenc in depth..
the Microsoft .NET Framework ha solidifi it place as on of the most popular and robust framework avail for web applic development. From a secur perspective,Sinc it unveil in 2002. the framework provid a seri of class that make it easi to write secur code and implement strict data validation. Unfortunately, not all develop ar awar that these featur exist and inform secur attack against web applic ar on the rise.
cross-sit script XSS and file inclus were the three most popular techniqu us in success attacks. All three ar the direct result of lax data valid and insecur codeA report publish by SA NS in Septemb 2009 entitl "The Top Cyber Secur Risks" found that web applic attack constitut more than 60% of the total attack observ on the Internet. SQL injection..
Th easiest and most effect wai to implement data valid on form within your web applic is to us the valid control provid by the .NET Framework. Valid control provid valid of the form data sent in a POST request on the server-sid and the enter data on the client-sid us JavaScript.
CompareValidator,Ther ar six control includ within the framework: RequireFieldValidator. RangeValidator, RegularExpressionValidator, and CustomValidator.
and the user input is valid befor substitut occurs. Using parameteris queri also offer some perform benefit,Parameteris SQL queri ar a secur altern to concaten chunk of SQL syntax with user input and prevent SQL injections. Placehold ar us to repres where user input will be substitut into a query. as string ar no longer be concatenated, which can be computation intensive.
Th Microsoft Anti-XSS Librari is an encod librari design to help develop protect against cross-sit script attacks. It provid a white-list approach that defin a set of valid or allow charact and encod anyth outsid that set.
however,Request valid is a featur enabl by default on the .NET Framework that identifi suspici string of user input and halt the execut of a page by throw an exception. It will not. prevent all possibl attack and must not be reli upon.
2010年4月8日星期四
订阅:
博文评论 (Atom)

没有评论:
发表评论