Is it possible to allow anonymous user to browse only few files from a folder

前端 未结 2 892
时光取名叫无心
时光取名叫无心 2021-01-24 00:54

I want to allow anonymous users to browse only few files like default.aspx, aboutus.aspx, contactus.aspx etc. Is there a way to write all these file names in one place or I will

2条回答
  •  没有蜡笔的小新
    2021-01-24 01:22

    I think you can group based on folder name. Check this out http://weblogs.asp.net/gurusarkar/archive/2008/09/29/setting-authorization-rules-for-a-particular-page-or-folder-in-web-config.aspx

提交回复
热议问题