<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [Solved] Security problem : sending an alfresco link in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177460#M130590</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I used to, I'am going to answer to myself ; it might help somebody.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem comes from client side : the client store in cache (more precisely in cookies) the pages login.jsp and browse.jsp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when we copy/paste the URL browse.jsp into the navigator, the navigator display the cached browse.jsp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve this problem, we need to force the navigator NOT TO CACHE the browse.jsp page (login.jsp is not important).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence, we need to add at the begin of browse.jsp page the scriplet :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;%&lt;BR /&gt;response.addHeader("Pragma", "no-cache");&lt;BR /&gt;response.addHeader("Cache-Control", "no-cache");&lt;BR /&gt;response.addHeader("Cache-Control", "must-revalidate");&lt;BR /&gt;%&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and then we can see that in windows cookie, the browse.jsp doesn't appear anymore.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 09:45:48 GMT</pubDate>
    <dc:creator>zomurn</dc:creator>
    <dc:date>2009-02-04T09:45:48Z</dc:date>
    <item>
      <title>[Solved] Security problem : sending an alfresco link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177458#M130588</link>
      <description>Hi everyone,I deployed an alfresco application and a server host it. The application is accessible by all employees through intranet via URL http://xx.xx.xxx.xx/alfresco.I have a security problem with the application (It an Alfresco 2.2.0 enterprise installed). Scenario :1) A user access the applica</description>
      <pubDate>Mon, 02 Feb 2009 09:22:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177458#M130588</guid>
      <dc:creator>zomurn</dc:creator>
      <dc:date>2009-02-02T09:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: [Solved] Security problem : sending an alfresco link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177459#M130589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I precise that the navigator of the client is ie6.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 13:58:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177459#M130589</guid>
      <dc:creator>zomurn</dc:creator>
      <dc:date>2009-02-02T13:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Solved] Security problem : sending an alfresco link</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177460#M130590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I used to, I'am going to answer to myself ; it might help somebody.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem comes from client side : the client store in cache (more precisely in cookies) the pages login.jsp and browse.jsp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So when we copy/paste the URL browse.jsp into the navigator, the navigator display the cached browse.jsp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To solve this problem, we need to force the navigator NOT TO CACHE the browse.jsp page (login.jsp is not important).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence, we need to add at the begin of browse.jsp page the scriplet :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;%&lt;BR /&gt;response.addHeader("Pragma", "no-cache");&lt;BR /&gt;response.addHeader("Cache-Control", "no-cache");&lt;BR /&gt;response.addHeader("Cache-Control", "must-revalidate");&lt;BR /&gt;%&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and then we can see that in windows cookie, the browse.jsp doesn't appear anymore.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 09:45:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-security-problem-sending-an-alfresco-link/m-p/177460#M130590</guid>
      <dc:creator>zomurn</dc:creator>
      <dc:date>2009-02-04T09:45:48Z</dc:date>
    </item>
  </channel>
</rss>

