Configuring ASP.NET for Security




Download 0,67 Mb.
bet18/38
Sana22.07.2021
Hajmi0,67 Mb.
#15596
1   ...   14   15   16   17   18   19   20   21   ...   38

Configuring ASP.NET for Security


There are various security options that can be configured in web.config and machine.config files. The settings are dependent on the local security requirements and administrative preferences. In

Installing Web Plus


IMPORTANT: Web Plus has not been tested in the load balanced environment. Please contact Registry Plus if you want to test it in this environment. Use of Windows 2003 and higher server operating system is highly recommended for production use of Web Plus because of improved security and stability of these operating systems.

  1. Initial steps:

    1. Have a web server machine on your network with the Internet Information Services (IIS) and .NET Framework version 2.0 installed. If you have Windows 2003 or later server versions you need to change your server configuration to add the Web server (IIS) role and enable it to run ASP.NET applications.

    2. This web server should have proper connectivity to a SQL Server machine (SQL Server and web server can be located on the same machine for testing purposes).

    3. Create a user account (SQL Server account or Windows domain account) on the SQL Server for all Web Plus users to access the Web Plus database from the application.

    4. If your web server sits outside the firewall and the SQL Server is inside the firewall, open appropriate ports on the firewall to let the web server and the SQL Server communicate with each other.

  2. Download the Web Plus deployment files (filename will appear in the email you received) from the specified folder on the CDC ftp site:

Address: ftp://sftp.cdc.gov

UserID: nccdnc



Password: 2013cDast

  1. Unzip the downloaded file to a temporary folder.

  2. Create and configure the database for Web Plus on the database server computer.

  1. SQL Server backup is included in the deployment package and will appear in the WebPlusV2\Data folder when you unzip it. Create the WebPlus database from this backup.

  2. Grant the “datareader” and “datawriter” roles to the Web Plus user account; also grant this account the execute permission on stored procedures called “lookupuser”, “initializelargeobjectstableforinsert”, and “getsetbaseid”.

NOTE: The above instructions are for MS SQL Server 2000 and later versions. There is a version of Web Plus available that works with My SQL Server, however, not all functionalities of the application have been tested to work correctly with this database. If you are using My SQL Server database you need to download the My SQL Server version of the application. The deployment package has MySQL data dump in the WebPlus\data folder. Create WebPlus database from this dump and update the database connection string in the web.config file (WebPlus folder) to point to this database.

  1. Set up application on the web server. The steps for this task differ depending on the operating system you have on the web server computer. Please locate the section for the operating system you have on the web server and follow the steps described in that section.


Download 0,67 Mb.
1   ...   14   15   16   17   18   19   20   21   ...   38




Download 0,67 Mb.