Changeset 9096
- Timestamp:
- 05/20/08 09:35:17 (5 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfSslRequirementPlugin/branches/1.0/README
r9095 r9096 1 = sfSslRequirement plugin =1 = sfSslRequirement plugin (for symfony 1.0) = 2 2 3 3 The `sfSslRequirement` is a symfony plugin that provides SSL encryption support for your module actions. 4 4 5 5 It gives you 2 new security settings: `require_ssl` and `allow_ssl`. 6 6 7 The plugin also adds 2 new `sfAction` methods: `->sslRequired()` and `->sslAllowed()`. 7 8 8 9 == Logic == 9 10 10 As of version 1.2.0: 11 12 * only execute once per request and SF_ENVIRONMENT in one of the environments configured in app_disable_sslfilter 11 Only execute once per request and SF_ENVIRONMENT in one of the environments configured in app_disable_sslfilter 13 12 * if not posting 14 13 * if secured 15 14 * then check if its allowed else redirect from https to http 16 15 * else if secured required redirect from http to https 17 18 Until version including version 1.1:19 20 * If an action is secured with the `require_ssl`, then all HTTP requests will be redirected to the same action but with the HTTPS protocol.21 22 * If an action is secured and `allow_ssl` is false, then all HTTPS request will be redirected to HTTP.23 16 24 17 == Installation ==