Forums / Developer / deleteing a node tree via PHP / Comment39880
Wenyue Yu
Friday 06 February 2004 6:03:09 am
Hi,
Actually, if you can run a script in your system, you can do everything. The permission issues in your script is only because you used function subTree() which will check current user ( this function is used in admin interface ) . Since you are not logged in, you are anonymous user. The actual deleting function you called will not check permissions and that is why you can delete anything. Permission will be checked in admin/user interface, so don't worry about that. There is no security hole.
Best regards,wenyue