Applied math challange / Possible Project
- From: popsovy@xxxxxxxxxxx
- Date: 7 Mar 2006 07:44:36 -0800
Hello,
I have a math problem that is outside of my comprehension. I would like
to get an advice or even hire a math guru to help me.
I am a programmer, and I am trying to create an authorization scheme
for a multi-user application. My application will be done in Windows
Forms (Microsoft) and will allow users to manipulate data stored in a
database.
Each control in the Windows forms application has a unique ID.
A user can have three levels of permission to a control: None, Read,
Write.
Each control can display data for one or more business entities. Each
business entity has a unique ID. A user can have either None, Read, or
Write permissions to the data of each business entity.
I know I can solve this problem by setting up a database where I
maintain in a tabular format what users have access to what controls
and what users have access to what business entity data, but...
rendering of forms will be slow, since I have hundreds of controls, and
I was wondering if this problem can be solved mathematically.
I apologize for the following armaturish discussion, but here it is:
Would that be possible to assign a number to each user that will embody
user rights? For example, if a user has Read access to Control ID 2,
the user number will have this information stored in some kind of
mathematical way in a single 16-byte number. Then, once it's time to
decide what permissions to give to a particular user, some math formula
needs to be applied to the user number based on the control ID.
I do not want to use Binary since this solution will not scale. The
other option I considered was to use prime numbers, and I am still
considering it.
I know this post may be confusing, so please email your questions, if
you have any.
Thanks a lot for your help and please remember that if you think you
know of a good mathematical way to solve this, I may hire you for this
project.
Thanks!
Evgueni
.
- Follow-Ups:
- Re: Applied math challange / Possible Project
- From: john_ramsden
- Re: Applied math challange / Possible Project
- From: guenther vonKnakspot
- Re: Applied math challange / Possible Project
- From: Robert Israel
- Re: Applied math challange / Possible Project
- From: Tony Orlow
- Re: Applied math challange / Possible Project
- From: David Bernier
- Re: Applied math challange / Possible Project
- Prev by Date: Re: normal subgroups
- Next by Date: Re: Helping without actually doing homework?
- Previous by thread: Euler characteristic of torus
- Next by thread: Re: Applied math challange / Possible Project
- Index(es):
Relevant Pages
|