CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 user access

Print topic Send  topic

Author Message
will
Posted: 08/19/2003, 4:40 PM

Hi,
im a newbie in asp... the question is:

How can I restrict acces to a page base in a field.
example: i have a table "courses" and many field (math, computers, science,
etc) if the field "math" is set to true, then the user can access the math
manuals, else, th euser will not be alowed to access that page.

DonB
Posted: 08/19/2003, 7:34 PM

Perhaps you could combine the "bits" (fields) into a number (powers of two)
and use that number to represent groups in the CCS security scheme. For
example 1 = math, 2 = computers, 4 = science, 6 = science AND computers,
etc. If there are not too many courses, you can do it without too much
trouble.

I thought that groups were limited to numbers between 0 and 99, but after
checking the help I don't see that. I don't know where I got "99" as the
maximum and maybe that's not true. So be aware this might restrict the
number of field combinations you could create.

--
DonB

http://www.gotodon.com/ccbth


"will" <pcboss1976@hotmail.com> wrote in message
news:bhuci1$e83$1@news.codecharge.com...
> Hi,
> im a newbie in asp... the question is:
>
> How can I restrict acces to a page base in a field.
> example: i have a table "courses" and many field (math, computers,
science,
> etc) if the field "math" is set to true, then the user can access the math
> manuals, else, th euser will not be alowed to access that page.
>
>


   


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.