| Author |
Message |
tristan
Joined: 04 Jul 2011 Posts: 1
|
Posted: Mon Jul 04, 2011 4:58 pm Post subject: UserHostAddress hashed? |
|
|
We've just upgraded to SmartAssembly 6.1 and we're getting our reports downloaded now except for one problem.
Previous versions used to list the Host IP Address in the UserHostAddress but it seems that this is now a hashed address so we cannot see exactly where the automated reports have come in from. Is there a way to decrypt this address?
Is this intentional or am I missing a setting when we're building our SA project?
Cheers,
Al |
|
| Back to top |
|
 |
dom.smith
Joined: 03 Jun 2010 Posts: 64 Location: Cambridge, UK
|
Posted: Wed Jul 06, 2011 10:40 am Post subject: |
|
|
Hi Al,
I can confirm that this is intentional. We started hashing the host IP address in SmartAssembly 6, which introduced Feature Usage Reporting.
We hash the host IP address to help protect the privacy of your users: it makes it difficult to link a user's feature usage reports to an error report, which might contain the user's email address, for example.
To achieve this, Automated Error Reporting and Feature Usage Reporting use different salts when creating the hash.
If your users have static IP addresses, which you know, you can calculate the hash of their IP address. This should help you discover where error reports have come from. The SDK in SmartAssembly Professional contains a DLL called SmartAssembly.SDK.dll. One of the Helpers in that DLL is the method HashAddress(str ipAddr, bool featureReporting). So, to determine the hash of the IP address 123.123.123.123 used in Error Reports, call:
| Code: |
| HashAddress("123.123.123.123", false); |
Naturally, we do not provide a method for reversing the hash, and the algorithm used is deliberately designed to take a long time to reverse.
Dom. _________________ Dominic Smith,
ANTS Performance Profiler Project Manager,
.NET Division, Red Gate Software. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group