summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TCookieProtection.php
blob: 2a757898d6eb7f5f355ff7b31e6d242a600aa87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/**
 * TCookieProtection class.
 * Describes how information in a cookie is protected.
 * 
 * All			Use both Validation and Encryption to protect the information 
 * 				in the cookie. 
 * Encryption	Encrypt the information in the cookie. 
 * None			Do not protect information in the cookie. Information in the 
 * 				cookie is stored in clear text and not validated when sent back 
 * 				to the server. 
 * Validation	Ensure that the information in the cookie has not been altered 
 * 				before being sent back to the server. 
 *
 * @author Jason Ragsdale <jrags@jasrags.net>
 * @version $Id: TCookieProtection.php 1398 2006-09-08 19:31:03Z xue $
 * @package System.Web.Security
 * @since 3.1
 */
class TCookieProtection extends TEnumerable 
{
	const All='All';
	const Encryption='Encryption';
	const None='None';
	const Validation='Validation';
}
?>