<?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 [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/177458#M130588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I deployed an alfresco application and a server host it. The application is accessible by all employees through intranet via URL &lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a security problem with the application (It an Alfresco 2.2.0 enterprise installed). Scenario :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) A user access the application through intranet via URL &lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco/extension/login.jsp" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco/extension/login.jsp&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;He comes on a custom login.jsp page which show the logo of the society.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The user logs in and navigate on the application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) The user stops navigate and copy this URL : &lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco/extension/browse.jsp" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco/extension/browse.jsp&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(a custom browse.jsp page having some stuff different from original browse.jsp)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) The user paste this URL in its outlook messaging&amp;nbsp; client and send the email to its collaborator (another employee).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5) The collaborator click on this link and SUDDENTLY has access to &lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco/extension/browse.jsp" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco/extension/browse.jsp&lt;/A&gt;&lt;SPAN&gt; and see this view directly WITHOUT going through login screen (&lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco/extension/login.jsp" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco/extension/login.jsp&lt;/A&gt;&lt;SPAN&gt;). Moreover, the login of the user connected (upper right link, the logout one) is the same that the user who sent the email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;6) But when the collaborator attempt to click on a link, inside the view sent by email &lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco/extension/browse.jsp" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco/extension/browse.jsp&lt;/A&gt;&lt;SPAN&gt;, he is in all cases automatically redirected to login screen (&lt;/SPAN&gt;&lt;A href="http://xx.xx.xxx.xx/alfresco/extension/login.jsp" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xxx.xx/alfresco/extension/login.jsp&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question are :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) How do the login name is thransmitted through outlook mail ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Why browse.jsp URL doesn't redirect a user to login screen if not connected ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your advice !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2009 09:22:29 GMT</pubDate>
    <dc:creator>zomurn</dc:creator>
    <dc:date>2009-02-02T09:22:29Z</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>

