ASP.NET 3.5 UNLEASHED BY STEPHEN WALTHER PDF

.

Author:Dazshura Mut
Country:Latvia
Language:English (Spanish)
Genre:Music
Published (Last):9 September 2008
Pages:169
PDF File Size:13.84 Mb
ePub File Size:16.4 Mb
ISBN:756-3-73045-537-5
Downloads:18967
Price:Free* [*Free Regsitration Required]
Uploader:Dairn



If you enter a valid user name and password, then the secret message is displayed. When you click the button to submit your user name and password, the login method is called. If the user name and password are valid, the loginSuccess method is called.

This method calls a second web service method named GetSecretMessage to retrieve the secret message. Now, I correctly warn the reader that you should never put any secret information in your JavaScript code since anyone can select the menu option View Source in a browser to see all of your JavaScript code or download the JavaScript files from the server. For this reason, I placed the secret message in server-side code within the GetSecretMessage web method. Anyone can call the GetSecretMessage web method at any time to grab the secret message.

This was a stupid mistake on my part. Fortunately, there is an easy way to fix the code sample. The GetSecretMessage method should be modified to perform a server-side authentication check. Here is the fixed version of the page: Listing

ENCHANTED BY ALETHEA KONTIS PDF

ASP.Net 3.5 Unleashed [With CDROM]

.

CHEIKH ANTA DIOP TWO CRADLE THEORY PDF

ASP.NET 3.5 Unleashed Errata: ASP.NET AJAX Authentication

.

Related Articles