question on access control

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default question on access control

    Hi, I am a newbie, currently i am doing a project, upon user login, there
    will be 3 or 4 levels of previleges of access to the system, that is, for
    example, User A can only access 1.aspx, 2.aspx, User B can only access
    2.aspx and 3.aspx. User C can access all.

    Anybody can give me a hint how to do that? use cookie or what?

    Thank you very much for your reply.


    Tony Guest

  2. Similar Questions and Discussions

    1. user control problem access value from user control to a page
      Thanks a lot for paying attention to my problem , i tell u the problem i have a main form in which i gave a login label that points to a...
    2. Access User Control value during Page_Load
      ASP.NET - C# (User Control) I have a drop-down as usercontrol. In the user control's Page_Init , the drop down gets populated. The...
    3. How to access an event of a custom control??? Thank you!
      Could you please post your reply? Thank you I'm trying to resolve why my custom image button control with a custom eventargs class will not fire...
    4. access html control with javascript
      Hi, I've got a HTMLTable in my user control.I wrote a Javascript function and try to edit cells in that table and I get this error: Table1 is...
    5. How to control web access by user?
      I'd like to control the access to the internet on a individual computer using different logins. Is this possible using XP?
  3. #2

    Default Re: question on access control

    u can use session, u give a session representing his access level to the
    visitor,then in your every page,u can check this session varible to make
    sure that he is allowed to visit.

    in fact,session is a kind of cookie too, the difference that session
    varibles lived in a short period of time.

    Yangtsi River
    China

    "Tony" <gdxing@hotmail.com> дÈëÏûÏ¢ÐÂÎÅ
    :OFjma5EQDHA.1584@TK2MSFTNGP11.phx.gbl...
    > Hi, I am a newbie, currently i am doing a project, upon user login, there
    > will be 3 or 4 levels of previleges of access to the system, that is, for
    > example, User A can only access 1.aspx, 2.aspx, User B can only access
    > 2.aspx and 3.aspx. User C can access all.
    >
    > Anybody can give me a hint how to do that? use cookie or what?
    >
    > Thank you very much for your reply.
    >
    >

    Yangtsi River Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139