Red Gate forums :: View topic - UserHostAddress hashed?
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

UserHostAddress hashed?

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 04 Jul 2011
Posts: 1

PostPosted: Mon Jul 04, 2011 4:58 pm    Post subject: UserHostAddress hashed? Reply with quote

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?

Back to top
View user's profile Send private message

Joined: 03 Jun 2010
Posts: 94
Location: Cambridge, UK

PostPosted: Wed Jul 06, 2011 10:40 am    Post subject: Reply with quote

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 used in Error Reports, call:

HashAddress("", 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.

Dominic Smith,
Project Manager,
Red Gate Software.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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