Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Untested, but this probably works
<location path="modulesbin">
<system.web>
<authorization>
<deny users="*" />
</authorization>
</system.web>
</location>
<location path="your-folder">
<system.web>
<authorization>
<deny users="*" />
<allow roles="WebEditors, WebAdmins, Administrators" />
</authorization>
</system.web>
<system.webServer>
<handlers>
<clear />
<add name="wildcard" path="*" verb="*" type="EPiServer.Web.StaticFileHandler, EPiServer.Framework.AspNet" />
</handlers>
</system.webServer>
</location>
Is there a way to secure a Static Folder so that attempting access files under the folder triggers a EpiServer login in order to view them?