Jason (25)
Usenet Archive
- Joined
- Apr 28, 2010
- Messages
- 9
- Reaction score
- 0
Hi,
I'm using the standard ASP Membership provider, and I want to create users from VBA. Does this sound OK? I can append all the user data into the database, but I need to hash encode the password before I store it. My VBA application then sends the clear password to an ASP.Net web service that does all the hashing and sends it back.
My web service uses the code I found at
http://msdn.microsoft.com/en-us/library/6tc47t75.aspx. It gets stuck because...... If machineKey.ValidationKey.Contains("AutoGenerate") Then _ Throw New ProviderException("Hashed or Encrypted passwords " & _ "are not supported with auto-generated keys."). I'm using a 3rd party web host, so I guess they've locked the machine key section. There must be another way. - How does the website administration tool do it? How does the New User Wizard do it?
Thanks for your help you clever clever people.
I'm using the standard ASP Membership provider, and I want to create users from VBA. Does this sound OK? I can append all the user data into the database, but I need to hash encode the password before I store it. My VBA application then sends the clear password to an ASP.Net web service that does all the hashing and sends it back.
My web service uses the code I found at
http://msdn.microsoft.com/en-us/library/6tc47t75.aspx. It gets stuck because...... If machineKey.ValidationKey.Contains("AutoGenerate") Then _ Throw New ProviderException("Hashed or Encrypted passwords " & _ "are not supported with auto-generated keys."). I'm using a 3rd party web host, so I guess they've locked the machine key section. There must be another way. - How does the website administration tool do it? How does the New User Wizard do it?
Thanks for your help you clever clever people.