Restrict user navigation

From: Pravin (expertco_at_vsnl.com)
Date: 05/07/03


Date: Thu, 8 May 2003 00:46:35 +0530


I have users at different levels (groups) say clerk, manager, director and
so on. Currently the users and passwords are stored in one tables in the
database. The first activity user does is provide username and password. If
user gives valid credentials, a session variable is set to a value else that
session variable is set to zero. On top of each page we check whether the
session variable has non-zero value. This helps me to show the pages to only
the users who have logged in with valid credentials.

Now, I wish to restrict the access to the webpages depending on who has
logged in i.e. manager or clerk or so on. The issue here is, once the person
provides valid creddentials the session variable is set t non-zero value.
And then if the user knows the URL then he can typein the URL in address bar
and can visit that page directly. I wish to restrict this.

Please guide how this can be achieved. Thanks.

--
Regards,
Pravin


Relevant Pages

  • Re: TSWLTH and Wonder Under
    ... Come on over to my store and we will try to take care of you with a smile. ... that full bolts ... The clerk went to get the manager, who was in the office doing paperwork. ...
    (rec.crafts.textiles.quilting)
  • TSWLTH and Wonder Under
    ... clerk went to get the manager, who was in the office doing paperwork. ... existing bolt worked just fine on this same fabric with the same iron. ... to give me refund after measuring to see if I'd used any of it. ...
    (rec.crafts.textiles.quilting)
  • A Passover thought up by Gentiles
    ... almost a year after moving there, i went to one of the only 2 grocery stores ... albertson's and asked for passover food. ... different clerk; different manager; SAME COMMENT!!!!!! ...
    (rec.food.cuisine.jewish)
  • Re: IQ by Profession
    ... Trainee, Purchasing Agent, Supervisor ... Bookkeeper, Cashier, Data Processing Clerk, Draughtsman, News ... Circulation Manager, Customer Service Representative, ... Food Service Worker Helper, General Mechanic's Helper, Shipping ...
    (soc.culture.scottish)
  • Sun Directory Server & security
    ... bundled one with Solaris, and I'm using 2005Q4 on Solaris 10 and ... Windows) then you have a mass of passwords: ... for each DS and AS instance, as well as the cn=Directory Manager ... machine compromises result in information leaking which can lead to ...
    (comp.unix.solaris)