<?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: Web Script Authentication question in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/web-script-authentication-question/m-p/133692#M35990</link>
    <description>&lt;P&gt;The value specified in the authentication section states that at least guest-level access is required, but that anonymous guest access still requires explicit login as the guest user. A fully anonymous access would be the `none` authentication.&lt;/P&gt;
&lt;P&gt;Note that allowing unauthenticated or guest level access to your logs is a recipe for DDoS attacks. Make sure you properly restrict which clients / hosts can actually call this endpoint via your web proxy / application gateway.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 09:11:29 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2021-06-09T09:11:29Z</dc:date>
    <item>
      <title>Web Script Authentication question</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/web-script-authentication-question/m-p/133691#M35989</link>
      <description>&lt;P&gt;I am following Jeff Pott's intro to web scripts,&amp;nbsp; and I have a simple Java service that simply logs to the logfile whatever I put in a message parameter.&amp;nbsp; My descriptor looks like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;webscript&amp;gt;
    &amp;lt;shortname&amp;gt;Post Logging message&amp;lt;/shortname&amp;gt;
    &amp;lt;description&amp;gt;Writes a message to the log.&amp;lt;/description&amp;gt;
    &amp;lt;url&amp;gt;/someco/logging/log&amp;lt;/url&amp;gt;
    &amp;lt;format default="json"&amp;gt;extension&amp;lt;/format&amp;gt;
    &amp;lt;authentication runas="admin"&amp;gt;guest&amp;lt;/authentication&amp;gt;
    &amp;lt;transaction&amp;gt;required&amp;lt;/transaction&amp;gt;
&amp;lt;/webscript&amp;gt;&lt;/PRE&gt;&lt;P&gt;Now when I call the endpoint I get a 401 not authorized.&amp;nbsp; If I add an authentication header,&amp;nbsp; it works fine.&amp;nbsp; I was under the impression that the authentication tag in the descriptor allows anonymous guest access.&amp;nbsp; Can someone explain this to me?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 02:04:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/web-script-authentication-question/m-p/133691#M35989</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2021-06-07T02:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Web Script Authentication question</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/web-script-authentication-question/m-p/133692#M35990</link>
      <description>&lt;P&gt;The value specified in the authentication section states that at least guest-level access is required, but that anonymous guest access still requires explicit login as the guest user. A fully anonymous access would be the `none` authentication.&lt;/P&gt;
&lt;P&gt;Note that allowing unauthenticated or guest level access to your logs is a recipe for DDoS attacks. Make sure you properly restrict which clients / hosts can actually call this endpoint via your web proxy / application gateway.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 09:11:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/web-script-authentication-question/m-p/133692#M35990</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-06-09T09:11:29Z</dc:date>
    </item>
  </channel>
</rss>

