http://wiki3.caucho.com/index.php?title=Security_with_SSL&feed=atom&action=historySecurity with SSL - Revision history2024-03-19T02:00:19ZRevision history for this page on the wikiMediaWiki 1.18.0http://wiki3.caucho.com/index.php?title=Security_with_SSL&diff=4078&oldid=prevPcowan: Cookbook: Security with Ssl moved to Security with SSL2011-10-21T17:36:39Z<p><a href="/Cookbook:_Security_with_Ssl" class="mw-redirect" title="Cookbook: Security with Ssl">Cookbook: Security with Ssl</a> moved to <a href="/Security_with_SSL" title="Security with SSL">Security with SSL</a></p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 17:36, 21 October 2011</td>
</tr></table>Pcowanhttp://wiki3.caucho.com/index.php?title=Security_with_SSL&diff=3666&oldid=prevFerg: New page: Category: Cookbook Category: Security == When used == When you want to restrict access to a section of the web site to SSL access only, use the security <resin:Allow> with the <r...2010-09-15T18:10:25Z<p>New page: <a href="/Category:Cookbook" title="Category:Cookbook">Category: Cookbook</a> <a href="/Category:Security" title="Category:Security">Category: Security</a> == When used == When you want to restrict access to a section of the web site to SSL access only, use the security <resin:Allow> with the <r...</p>
<p><b>New page</b></p><div>[[Category: Cookbook]]<br />
[[Category: Security]]<br />
<br />
== When used ==<br />
<br />
When you want to restrict access to a section of the web site to SSL access only, use the<br />
security <resin:Allow> with the <resin:IfSecure> tag.<br />
<br />
The <resin:Allow> defines a restricted area with a set of url-pattern tags. (You can use more than one.)<br />
The child tags in the <resin:Allow> describe the particular restrictions.<br />
<br />
The <resin:IfSecure> restriction checks for a SSL connection.<br />
<br />
== WEB-INF/resin-web.xml for SSL access ==<br />
<br />
<web-app xmlns="http://caucho.com/ns/resin"<br />
xmlns:resin="urn:java:com.caucho.resin"><br />
<br />
<resin:Allow><br />
<url-pattern>/quidditch/*</url-pattern><br />
<br />
<resin:IfSecure/><br />
</resin:Allow><br />
<br />
</web-app><br />
<br />
The website has a restricted section /quidditch which is only accessible through SSL. The <resin:Allow> defines the restricted<br />
site, and the <resin:IfSecure> restricts access to SSL.</div>Ferg