ITCOOKBOOK.com

 Options

Current Time:
Mon Sep 06, 2010 8:58 pm
View unanswered posts

Log in

Username:
Password:
Log me on automatically each visit

Topic Information

Encrypted view state

 
Post new topic   Reply to topic    ITCOOKBOOK.com Forum Index -> .NET
View previous topic :: View next topic  
Author Message
Liz
Fresher


Joined: 04 Dec 2006
Posts: 10
Location: Boise, ID

PostPosted: Tue Dec 05, 2006 12:24 am    Post subject: Encrypted view state Reply with quote

Can the view state be encrypted?
Back to top
View user's profile Send private message
Opera
Fresher


Joined: 04 Dec 2006
Posts: 15

PostPosted: Tue Dec 05, 2006 12:24 am    Post subject: Reply with quote

The view state can be encrypted by setting “EnableViewStateMac” to true and either modifying the <machineKey> element in Machine.config to <machineKey validation="3DES” /> or by adding the above statement to Web.config.
Back to top
View user's profile Send private message
sigs
Member


Joined: 06 Dec 2006
Posts: 27

PostPosted: Wed Dec 06, 2006 9:52 am    Post subject: Reply with quote

As per me, the view state need not be encrypted, as it should never contain sensitive information. If needed, however, the LosFormatter does provide limited encryption support. The LosFormatter only allows for a single type of encryption: Triple DES. To indicate that the view state should be encrypted, set the <machineKey> element's validation attribute in the machine.config file to 3DES.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    ITCOOKBOOK.com Forum Index -> .NET All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Help US Help YOU

 

 

Please complete our short survey and save $17.50 on ITCOOKBOOK.COM.

 

 

Take a look at SAPTrends.com, a new blog dedicated to discussion of SAP Training trends in SAP ERP.

 

 

C# Interview Questions

 

.NET Interview Questions

 

Java Interview Questions

 

Python Interview Questions

 

ColdFusion Interview Questions

 

Linux Interview Questions

 

Linux LPIC 1 Certification Questions

 

Perl Programming Interview Questions