Allow certain users for an intranet app

M

maa

My web app reads/writes to the db and the company will only authorize some
users to access and run the app. It will be used as an intranet behind
Company's firewall. Should I add the users in the web.config file as in the
following:

<authentication mode="Windows"/>
<identity impersonate="true"/>
<authorization>
<allow users="b.smith, m.thomas" />

This will allow "b.smith" and "m.thomas" access to the app.

Thanks,
maa
 
D

Dominick Baier

Better create a windows group and use

<allow roles="Group" />

don't forget the

<deny users="*" />

at the end ;)
 
M

maa

Dominick,
Once again thanks,
- Marc

Dominick Baier said:
Better create a windows group and use

<allow roles="Group" />

don't forget the

<deny users="*" />

at the end ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top