Obfuscation Map
nkilian
Posts: 12
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.
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.
Comments
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