|
|
 |

 |
|
Security for Microsoft® Visual Basic® .NET
|
|
|
Author
|
|
Ed Robinson, Michael James Bond
|
|
|
Pages
|
416
|
|
Disk
|
N/A
|
|
Level
|
Beg/Int
|
|
Published
|
05/28/2003
|
|
ISBN
|
9780735619197
|
|
Price
|
$49.99
To see this book's discounted price, select a reseller below.
|
|
|
|
|
 |
|
|
Companion Content
Welcome to the companion content page for Security for Microsoft Visual Basic .NET, where you can
download the book's sample files.
Sample Files
Download the Sample Files (5.4 MB).
More Information and System Requirements
System Requirements
To use the sample code files, you'll need Microsoft Visual Basic .NET (2002 or 2003) or Visual Studio .NET (2002 or 2003).
Refer to the system requirements for your copy of Visual Basic .NET or Visual Studio .NET for more information.
To run the Web samples, you'll also need the following:
- Microsoft Internet Explorer 5.5 or later
- Internet Information Services (IIS) 5.0 or later
Installing the Sample Files
The download link opens an InstallShield executable file containing a license agreement. To copy the sample files onto your hard disk,
click the link to run the executable and then accept the license agreement that is presented. By default, the sample files
will be copied to the folder C:\Microsoft Press\VBNETSec, and a virtual folder VBNETSecBook will be created.
Note: you will need Administrative privileges to install the sample files.
For detailed instructions on installing and using the sample files, please refer to the book's Appendix A.
What to do if you are prompted for the startup Web page
The first time you run any of the ASP.NET Web applications you will be prompted for the startup ASP.NET Web page.
The following table lists the Web page you should select as the startup Web page for each of the sample applications.
| Practice File Directory | Practice File Name | Startup ASP.NET Web Page |
| CH02_RoleBased | WinTrustWebApp | WebForm1.aspx |
| CH04_ASP.NET | EmployeeManagementWeb | default.aspx |
| CH04_ASP.NET | WinTest | WebForm1.aspx |
| CH05_Web | EmployeeManagementWeb | default.aspx |
| CH06_AvoidingAttacks | ScriptAttack | ScriptAttack.aspx |
| CH07_ValidatingInput | ScriptAttack | ScriptAttack.aspx |
| CH09_Testing | WebTester\VBWebAppProxy | ProxyServer.aspx |
| CH09_Testing | WebTester\MyWebApplication | WebForm1.aspx |
To set the startup page, right-click the ASP.NET Web page (listed in the preceding table) in the
Solution Explorer and select Set As Start Page from the context menu.
What to do if you encounter an unexpected error while running an EmployeeManagementWeb sample
You might encounter the following error while running the EmployeeManagementWeb sample applications located in
either the CH04_ASP.NET or CH05_Web directories:
The Microsoft Jet database engine cannot open the file 'EmployeeDatabase.mdb'. It is already opened exclusively
by another user, or you need permission to view its data.
If you encounter this error, you must grant the ASPNET user account read and write permissions to the folder
containing the EmployeeManagement.mdb sample database. The following steps demonstrate how to grant the
ASPNET user account these permissions.
- Open Windows Explorer and navigate to the directory where the book samples have been installed. This is
normally the C:\Microsoft Press folder.
- Right-click the VBNetSec folder and select Properties.
- Select the Security tab.
- Click the Add button and the VBNetSec Properties dialog box will display.
- Click the Locations button and select your computer from the list.
You should find your computer listed first in (at the top of) the list.
- Type in ASPNET for the object name and select OK.
- Select the Modify check box from the list of available permissions.
- Select OK to close the VBNetSec Properties dialog box.
Uninstalling the Sample Files
To remove the sample files, make the appropriate selection from Add/Remove Programs in Control Panel.
Support Information
Every effort has been made to ensure the accuracy of the book and this companion content. Microsoft Press
maintains a Knowledge Base that you can query for corrections and for answers to your questions.
Connect to the Knowledge Base through the Support: Book and CD link in the More Information box at the
top of this page.
For support information regarding Microsoft Visual Basic, Microsoft Visual Studio .NET 2003, or the .NET Framework,
please visit the Microsoft Support Web Site.
Last Updated: Friday, May 2, 2003 |