Applied math challange / Possible Project



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

.



Relevant Pages

  • Re: Applied math challange / Possible Project
    ... Each control can display data for one or more business entities. ... Write permissions to the data of each business entity. ... decide what permissions to give to a particular user, some math formula ...
    (sci.math)
  • Re: Applied math challange / Possible Project
    ... I have a math problem that is outside of my comprehension. ... Each control in the Windows forms application has a unique ID. ... Write permissions to the data of each business entity. ...
    (sci.math)
  • Re: Modern censorship
    ... a math professor who after harassing me for years ... >Sure I derided math journals for years but I wrote a paper and sent it ... >History shows that there are always those of the mob, ... >themselves to try and control the few, or especially, the one. ...
    (sci.math)
  • Re: Applied math challange / Possible Project
    ... I have a math problem that is outside of my comprehension. ... Each control in the Windows forms application has a unique ID. ... Write permissions to the data of each business entity. ...
    (sci.math)
  • Re: Applied math challange / Possible Project
    ... I have a math problem that is outside of my comprehension. ... Each control in the Windows forms application has a unique ID. ... Write permissions to the data of each business entity. ... and assign access rights for groups of controls or objects to groups ...
    (sci.math)

Quantcast