Compartilhar via


URL Policy Flags

The following list contains the values associated with the policies used with the URL action flags.

Constant/value Description
URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000

Only allow ActiveX controls that are on the trusted controls list to be used.

URLPOLICY_ALLOW 0x00

Allow the action to take place silently.

URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000

Use challenge-response authentication schemes (such as NTLM).

URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000

Use basic HTTP authentication.

URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000

Require mutual authentication with the server.

URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000

Internet Explorer 6 for Windows XP SP2 and later. Only allow behaviors that are on the trusted list to be used.

URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000

Allow automatic installation of software updates.

URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000

Cache content downloaded from Software Update Channels.

URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000

Prohibit downloads from Software Update Channels.

URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000

Only allow users to log on anonymously, so their credentials are not exposed.

URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000

Prompt the user for permission if the resource is not located in the Intranet zone.

URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000

Prompt the user to enter a user name and password.

URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000

Automatically log on with the user's credentials.

URLPOLICY_DISALLOW 0x03

Do not allow the action.

URLPOLICY_JAVA_CUSTOM 0x00800000

Not currently implemented.

URLPOLICY_JAVA_HIGH 0x00010000

Set high Java security. Java applets will run in a sandbox.

URLPOLICY_JAVA_LOW 0x00030000

Set low Java security. Java applets will be allowed to do high-capability operations, such as file I/O.

URLPOLICY_JAVA_MEDIUM 0x00020000

Set medium Java security. Java applets run in a sandbox with additional capabilities, such as scratch space.

URLPOLICY_JAVA_PROHIBIT 0x00000000

Prevent Java applets from running.

URLPOLICY_MASK_PERMISSIONS 0x0f

Mask that can be used for comparisons to get the bits that pertain to permissions.

URLPOLICY_QUERY 0x01

Prompt the user to determine if an action is allowed.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 4.0