/**
 * Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
package cn.edu.zjnu.acm.judge.sandbox.win32;

/**
 * <table><caption><b>The Token level specifies a set of security profiles
 * designed to provide the bulk of the security of
 * sandbox.</b></caption><tr><td>TokenLevel</td><td>Restricting
 * Sids</td><td>Deny
 * Only</td><td>Privileges</td></tr><tr><td>USER_LOCKDOWN</td><td>Null
 * Sid</td><td>All</td><td>None</td></tr>
 * <tr><td>USER_RESTRICTED</td><td>RESTRICTED</td><td>All</td><td>Traverse</td></tr>
 * <tr><td>USER_LIMITED</td><td>Users, Everyone, RESTRICTED</td><td>All except:
 * Users, Everyone, Interactive</td><td>Traverse</td></tr>
 * <tr><td>USER_INTERACTIVE</td><td>Users, Everyone, RESTRICTED,
 * Owner</td><td>All except: Users, Everyone, Interactive, Local, Authent-users,
 * User</td><td>Traverse</td></tr>
 * <tr><td>USER_RESTRICTED_NON_ADMIN</td><td>Users,
 * Everyone,Interactive,Local,Authent-users,User</td><td>All except: Users,
 * Everyone, Interactive, Local, Authent-users, User</td><td>Traverse</td></tr>
 * <tr><td>USER_RESTRICTED_SAME_ACCESS</td><td>All</td><td>None</td><td>All</td></tr>
 * <tr><td>USER_UNPROTECTED</td><td>None</td><td>None</td><td>All</td></tr>
 * </table>
 * <p>
 * The above restrictions are actually a transformation that is applied to the
 * existing broker process token. The resulting token that will be applied to
 * the target process depends both on the token level selected and on the broker
 * token itself.</p>
 * <p>
 * The LOCKDOWN and RESTRICTED are designed to allow access to almost nothing
 * that has security associated with and they are the recommended levels to run
 * sandboxed code specially if there is a chance that the broker is process
 * might be started by a user that belongs to the Admins or power users
 * groups.</p>
 */
public enum TokenLevel {
    USER_LOCKDOWN,
    USER_RESTRICTED,
    USER_LIMITED,
    USER_INTERACTIVE,
    USER_RESTRICTED_NON_ADMIN,
    USER_RESTRICTED_SAME_ACCESS,
    USER_UNPROTECTED,
    USER_LAST
}

@@ -382,17 +382,17 @@
 n%3E%3Ctr%3E%3Ct
-d
+h
 %3ETokenLe
@@ -397,21 +397,21 @@
 Level%3C/t
-d%3E%3Ctd
+h%3E%3Cth
 %3ERestric
@@ -425,21 +425,21 @@
  Sids%3C/t
-d%3E%3Ctd
+h%3E%3Cth
 %3EDeny%0A *
@@ -446,21 +446,21 @@
  Only%3C/t
-d%3E%3Ctd
+h%3E%3Cth
 %3EPrivile
@@ -465,17 +465,17 @@
 leges%3C/t
-d
+h
 %3E%3C/tr%3E%3Ct

Update TokenLevel.java