Windows security mechanism analysis