| Author |
Message |
nkilian
Joined: 10 Dec 2009 Posts: 11 Location: South Africa
|
Posted: Tue Nov 08, 2011 3:37 pm Post subject: Obfuscation Map |
|
|
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. |
|
| Back to top |
|
 |
james.davies
Joined: 19 Apr 2011 Posts: 46
|
Posted: Wed Nov 09, 2011 6:30 pm Post subject: |
|
|
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/Content?c=SmartAssembly%5chelp%5c6.2%5cSA_UsingCustomAttributes.htm&p=SmartAssembly) _________________ Thanks,
James Davies
Technical Support Engineer
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