Obfuscation Map

.NET obfuscator and automated error reporting

Obfuscation Map

Postby nkilian » Tue Nov 08, 2011 2:37 pm

I have implemented access control functionality on a WinForms application that uses reflection to test whether or not a specific user has edit or view access to a control on a form, the control is hidden or disabled appropriately.

The form's assembly, type name and the name of the control are used to determine this, the information is stored in a relational database and assigned to users as permissions.

Background aside, the permissions are built pre-obfuscation for obvious reasons and as you can expect post-obfuscation are no longer compatible as the form and control names have been obfuscated.

So my requirement is the ability to interrogate the mapping files so that I can modify the data in my relational database to match the new form and control names.

Preferably this would be programmatic so that it could be included in an automated build step.

I am on the Standard Edition of SmartAssembly.
Posts: 11
Joined: Thu Dec 10, 2009 10:43 am
Location: South Africa

Postby james.davies » Wed Nov 09, 2011 5:30 pm

You can exclude code from obfuscation to avoid problems.
This can be done via the SmartAssembly GUI or in code using custom attribute (http://www.red-gate.com/supportcenter/C ... rtAssembly)
James Davies
Technical Support Engineer
Red Gate Software
Posts: 46
Joined: Tue Apr 19, 2011 1:39 pm

Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 0 guests