charles
Posts: 59
|
| Posted: 02/09/2007, 10:42 AM |
|
I am trying to develop a web application where varoius users are registered from Various companies.How do i configure security such that a registered user can only view data that belongs to the company he/she belongs to.So after the basic login page,what do i do.
Any help will be greatly appreciated.
Regards,
Charles
|
 |
 |
Benjamin Krajmalnik
|
| Posted: 02/10/2007, 11:08 PM |
|
There are many ways to do this.
Without knowing the structure of your users table it is difficult to point
you in the right direction.
You can use the OnValidate event to create a new field to pass to the login
procedure.
If succesful, you could embed some code on th successful login to set a
session variable with a value which could then be used for filtering.
You do not want to pass this on the URL because it could then be hacked.
"charles" <charles@forum.codecharge> wrote in message
news:645ccc0a5c8be5@news.codecharge.com...
>I am trying to develop a web application where varoius users are
> registered from Various companies.How do i configure security such
> that
> a registered user can only view data that belongs to the company he/she
> belongs
> to.So after the basic login page,what do i do.
> Any help will be greatly appreciated.
> Regards,
> Charles
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|