IIS 10, Windows Server 2016, SQL Server 2019 web.config:
Строка соединения - 'Integrated Security = true' < /p>
Код: Выделить всё
< /code>
разрешить role = sdl_users < /p>
< /code>
, а также здесь; < /p>
[Authorize(Roles
public ActionResult Index()
< /code>
Веб -сервер IIS: < /strong>
autentication: windows autentication = включен. SQL Server Security: < /strong>
Group 'sdl-user'-это db_datawriter для базы данных. < /p>
Но при попытке просмотреть Приложение в Chrome я получаю следующее:
< /p>
Подробнее здесь: https://stackoverflow.com/questions/794 ... rity-group
Мобильная версия