Friday, June 20, 2025

Website admin tool - access rules for files and folders

Access rules are store in web.config for each folder

example like below:-

<?xml version="1.0" encoding="utf-8"?>

<configuration>

    <system.web>

        <authorization>

            <allow roles="Administrator" />

          <deny users="*" />

        </authorization>

    </system.web>

</configuration>

No comments:

Post a Comment