restrict access to directory in public folder of laravel for Authenticated users only
<p>Suppose we have a <code>Forms</code> directory in <code>public</code> folder of laravel. </p>

<p>And Now I want to only Authenticated users can access to that and if an unauthorized user want opens that or one of it's sub directory (such as images, videos and etc) an error message shown. </p>

<p>I added a route group like this but does not work properly :</p>

<pre><code>Route::group(['prefix' =&gt; 'Forms', 'middleware' =&gt; 'auth'], function () {
      // what Can I do here ?  
});
</code></pre>

<p>What Can I do for that?</p>