Obfuscation Map

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Obfuscation Map

Postby nkilian » Tue Nov 08, 2011 3: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.
nkilian
 
Posts: 11
Joined: Thu Dec 10, 2009 11:43 am
Location: South Africa

Postby james.davies » Wed Nov 09, 2011 6: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)
Thanks,
James Davies
Technical Support Engineer
Red Gate Software
james.davies
 
Posts: 46
Joined: Tue Apr 19, 2011 2:39 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 2 guests