Date: Sun, 15 Jul 2001 14:54:11 +0400 From: "Nickolay A.Kritsky" <nkritsky@internethelp.ru> To: security@freebsd.org Subject: Safe CGI scripting Message-ID: <84162803008.20010715145411@internethelp.ru>
next in thread | raw e-mail | index | archive | help
Hi, All. Has anybody heard of the function in kernel or standart librarys with similiar action: int isinside(const char *path1,const char *path2) that returns 1 if file referenced by path2 is "inside" the directory hierarchy referenced by path1 and 0 in all other cases. If you don't know such functions, I will try to write myself. In that case, can you advice me about the fastest/securest/compatiblest ways i can do this. Thanks for any help. ;--------------------------------------------- ; Nickolay A.Kritsky ; nkritsky@internethelp.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84162803008.20010715145411>