machinekey Questions
1
I'm trying to set the Machine Key in Web.Config of ASP.Net MVC apps but it sounds like Azure automatically provision unique machine keys for each web app and override what's in my Web.Config.
The...
Woosley asked 10/9, 2018 at 14:31
17
I am receiving the following error at certain times on asp.net website.
Sys.WebForms.PageRequestManagerServerErrorException:
Validation of viewstate MAC failed.
If this application is hosted ...
Jukebox asked 30/4, 2011 at 9:44
3
Solved
I want to adjust the machine keys dynamically in code during runtime, for an IIS hosted ASP.NET MVC 4 website.
The machine keys, encryption and validation keys as well as algorithms to use, are st...
Otes asked 26/8, 2013 at 14:20
1
I have Authorization server which built on .NET 4.5.1 and use Microsoft.Owin.Security.OAuth Version=3.0.0
http://prntscr.com/hvwhl4
Tokens protected via machinkey (OAuthAuthorizationServerOptions.A...
Confine asked 8/1, 2018 at 15:30
9
I find myself wanting to get the ASP.NET machine key for the current application. This is, of course, easy if a machine key is specified in the configuration file, but if it's set to auto generate ...
Contrarious asked 18/11, 2009 at 10:42
1
Solved
I have been using dotnet core to create an application that runs in a Kubernetes cluster on Linux hosts. As I was testing it noticed getting exceptions when validating the CSRF tokens, that makes s...
Highstepper asked 10/4, 2017 at 14:36
3
Solved
I working on a MVC 4 site which has uses Authentication. The site requires that I specify the Machine Key values. I did this via the IIS interface having deselected the "automatically generate at r...
Decline asked 21/2, 2013 at 13:3
1
I am trying to make run this
function hex2a(hex) {
var str = '';
for (var i = 0; i < hex.length; i += 2)
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16));
return str;
}
//Raw coo...
Mcgowen asked 19/1, 2016 at 17:0
1
Solved
I'm trying to encrypt and decrypt Id with MachineKey.
Here is my code that calls the encrypt and decrypt functions:
var encryptedId = Encryption.Protect(profileId.ToString(), UserId);
var decry...
Ackley asked 23/4, 2016 at 15:17
2
I am using MachineKey API to encrypt/decrypt a piece of information in an ASP.NET application. I am using
MachineKey.Encode(data, MachineKeyProtection.All)
and
MachineKey.Decode(data, Machine...
Pericynthion asked 13/11, 2015 at 13:4
3
I'm running an Azure Website. Whenever I deploy, everyone gets logged out because the machineKey changes.
I specified the machineKey in the web.config but this didn't solve the issue. I believe th...
Leekgreen asked 12/4, 2015 at 21:49
1
There seems to be parts of the answers to my problem spread over multiple posts but putting it together hasn't worked so far for me, so I hope when this post is answered it will form more complete ...
Johniejohnna asked 25/2, 2015 at 7:38
3
Solved
We (our IT partner really) recently changed some DNS for a web farmed site we have, so that the two production server have round-robin DNS switching between them. Prior to this switch we didn't rea...
Territerrible asked 4/10, 2010 at 13:29
2
Solved
I have a simple .net application using the .NET 2.0 runtime in IIS 7.5 where I've changed the machine key in the web.config to use the following:
<machineKey validationKey="AutoGenerate,Isolat...
Jeffrey asked 16/10, 2013 at 14:56
3
Solved
I am attempting to turn on viewstate encryption Always as a security measure for my ASP.NET 3.5 website hosted in IIS6. We have viewstate turned off but still see some "controlstate" in this string...
Redouble asked 6/7, 2011 at 14:37
3
Solved
I have a ASP.NET MVC workflow configured as two websites managed by a load balancer. The websites use Sql Server as the session state provider and have authentication switch off (its not required)....
Wightman asked 11/5, 2012 at 16:12
2
Solved
When a user logs in based on default Forms Authentication method, the server creates a cookie containing encrypted data (using Machine Key as key for encryption).
It means that if someone find/gue...
Organogenesis asked 26/3, 2012 at 8:38
1
Solved
Where do I find the machineKey config section for ASP.NET?
I don't have one in my application Web.config, there isn't one in the root Web.config and there isn't one in my machine.config.
Does thi...
Inshrine asked 21/9, 2010 at 10:48
3
Solved
What different ways are Machine Keys useful in asp.net?
I think the following are correct but thought there may be more.
Multiple applications can use the same cookie
Multiple servers can work wi...
Fungal asked 15/2, 2009 at 2:38
1
© 2022 - 2024 — McMap. All rights reserved.