User-1838255255 posted
Hi SSK_Nani,
Through your needs, about how to prevent the files be accessed, please check the following sample code:
<location path="image path">
<system.web>
<authorization>
<allow roles="Admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
Best Regards,
Eric Du