The project I'm working on contains three folder under "Views" folder: Home, Shared, and Data folders.
What can I add to my web.config
file to deny everyone access except people with IP address xxx.x.xx.xx?
Essentially, what would be the equivalent of placing a .htaccess
file inside the "Data" folder under views with the code:
order deny,allow
deny from all
allow from xxx.x.xx.xx
Is there a way to do this without active directory?