Which properties shall I check by javascript, if I want to know, if someone (evil) removed the security-restrictions set up with password-security.
I. E. if the code finds security removed, some parts of the document gets hidden or rendered useless by other means.