[DGD] Access
pete at ana.sk
pete at ana.sk
Thu Aug 9 13:44:04 CEST 2001
>From auto.c:
static mixed *file_info(string path)
{
string name, *files;
mixed *info;
int i, sz;
object obj;
CHECKARG(path, 1, "file_info");
if (!this_object()) {
error("Access denied");
}
name = object_name(this_object());
path = ::find_object(DRIVER)->normalize_path(path, name +
"/..", creator);
if (creator != "System" &&
!::find_object(ACCESSD)->access(name, path,
READ_ACCESS)) {
error("Access denied");
}
As you see, the first argument to access is ALWAYS object name
of this object, which NEVER match any access rule except global
ones. So what is this all good for???
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list