Asp net page not validating
The malicious user can then submit the modified script to the Web server with results that are different than what you, the developer, intended.The alternative to processing data validation on the user's computer is to process it on the Web server.Shannon Horn is the co-founder and chief software architect of Web Geniuses Corporation ( Hence, many times validation was not performed in a uniform manner, complex validation was difficult to implement, and Web servers were vulnerable to validation scripts being modified by malicious users.He is a Microsoft Certified Application Developer (MCAD), Microsoft Certified Solution Developer (MCSD) and a Microsoft Certified Trainer (MCT) who has been developing Microsoft Windows and Web-based solutions as well as training for over 12 years. Shannon lives in Glendale, AZ, and is married with two daughters and a son. Validating the information entered by users is an essential part of developing a professional Web-based user interface.The data validation controls are shown in Figure 1 as they appear in the Visual Studio . To use it, you link the Required Field Validator control to another control, such as a textbox, and use it to determine if the linked control has a value entered into it or it is empty.If the linked control has a value entered into it, data validation will succeed.All of the data validation controls are displayed in the toolbox when ASP.
I used the Control To Validate attribute to link Required Field Validator to the textbox.
He has been a featured speaker at many industry events including Microsoft Dev Days and the ASP. Shannon speaks and trains for companies such as App Dev ( and Learn It ( and has been a featured speaker in training videos with Learn Key. Data validation over the Web is performed in one of two locations: on the user's computer, or on the Web server.
NET and Web Services Solutions conference produced by PRO. He has also worked with large corporate clients including Microsoft, Universal Studios, MGM Studios, Monster.com/Flip Dog.com, Intel, Polygram Pictures, Prudential, Micro Accounting Systems, Sky Harbor International Airport, and Southern Automated Systems on projects using Microsoft technologies such as Visual Fox Pro, Visual Studio. Most applications perform their data validation on the user's local computer.
The opposite pros and cons that applied to processing data validation on the user's computer apply to processing data validation on the Web server.
For instance, since the validation occurs on the Web server, your application must post the Web page that the user is viewing back to the Web server for validation to occur.