CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Authenticating user+Company

Print topic Send  topic

Author Message
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
View profile  Send private message
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/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.