Forum Moderators: open
How do you disallow directories in asp?
I would prefer not to use .htaccess but an asp method which will spring up an error message like this.
[webmasterworld.com]
Any ideas?
Find the folder on the server, right-click, properties... Security tab. Remove "Everyone" and, if present, IUSR_MachineName
That disallows based on authenticated user. You can also disallow based on source IP - that is done through IIS management console. Hope this helps.