this sounds quite interesting, could you please post some example code as im
not too hot with the bitwise operations functions?

-----Original Message-----
From: Reynolds, Adam [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2000 10:09
To: Fusebox
Subject: RE: Security issues


You can simplify this even further by using the BitAnd function. This
operates on a 32 bit integer. Give different facilities a unique binary
number (1 2 4 8 16 32 64 etc...)

Then assign a user a security number which is a summation of the facilities
the user is allowed to do. Then use bitand (with the facility) to determine
if a user can see facilities. 

You do need to define the security constants, but this is usually not a
problem.
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to