It would be usefull in some script to know the current secure document but it's often not available even there is one in the XWikiContext.