•  914-288-5685
  •   sales@revindex.com
   Search
0
 
  • Register
 
Login
Revindex
  • Products
    • -Comodo PCI Scan
    • -RapidSSL Certificate
    • -RapidSSL Wildcard Certificate
    • -Revindex Generic Skin
    • -Revindex Impersonator
    • -Revindex Omni Skin
    • -Revindex Optimizer
    • -Revindex Polo Skin
    • -Revindex Priority Support
    • -Revindex Storefront
    • -Revindex Storefront Service Plan
    • -Revindex Storefront Source
    • -Revindex Storefront Source Service Plan
    • -Revindex Task Scheduler
    • -Revindex Wiki
    • -Software License Modification
  • Services
    • -Design
    • -Programming
    • -Hosting
    • -Merchant Account
  • Resources
    • -Downloads
    • -Knowledge Base
      • --ASCII Characters
      • --HTML Entities
      • --Revindex Impersonator
      • --Revindex Optimizer
      • --Revindex Storefront
      • --Revindex Task Scheduler
      • --Revindex Wiki
      • --Standard DNN Tokens
    • -Tools
      • --Remote Ping
      • --Unit Converter
      • --URL Encoder Decoder
      • --HTML Encoder Decoder
      • --GUID Generator
    • -Blogs
  • Support
    • -Forum
    • -Frequently Asked Questions
    • -Support Ticket
  • Company
    • -About Us
    • -Customer Portfolio
    • -Customer Reviews
    • -Resellers
  • Free Trial
You are here: Resources ⁄ Knowledge Base ⁄ Revindex Optimizer

Revindex Optimizer

Email Export Print

Encryption

By default, ASP.NET is configured to encrypt the View State to prevent unauthorized access when storing it in the page. The security tradeoff with enabling encryption is it will use more CPU and makes the View State larger.

If you configured your storage type to use Memory, File or Database, we strongly recommend that you disable View State encryption in the Web.config file. There is little benefit to encrypt the View State since you're not exposing it down the page. You will save some CPU cycles and keep the View State smaller by disabling the encryption. In addition, we recommend you also disable View State MAC validation since the View State is already secure and is not being transmitted down to the client.

To disable encryption, you need to edit your Web.config file to change the viewStateEncryptionMode attribute value from "Always" to "Never" and change enableViewStateMAC to "false". This change will affect the entire site for all portals.

<pages validateRequest="false" enableViewStateMac="false" enableEventValidation="true" viewStateEncryptionMode="Never">

Comments

Add comment
Previous Next

Search

Search

Contents

  • Users manual
    • Overview
    • Installation
      • Requirements
      • How to install
      • How to upgrade
      • How to uninstall
    • View State
      • Storage types
      • Duration
      • Compression
      • Page trace
      • Availability
      • Encryption
      • How to calculate storage space
  • Release notes

Powered by Revindex Wiki

Copyright Revindex Inc. : Terms Of Use : Privacy Statement
Copyright Revindex Inc. : Terms Of Use : Privacy Statement