Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi

I do not know much English,Sorry

code below in web.config for folder user

C#
<location path="user">
   <system.web>
     <authorization>
       <deny users="?"/>
     </authorization>
   </system.web>
 </location>



The login page
Username and password to enter when I
User directory not enter
Posted
Comments
deepankarbhatnagar 6-Jul-15 6:45am    
So what is your query??
OriginalGriff 6-Jul-15 6:54am    
I'm sure English is not your native language, but it is the default language for this site.
In English, your question makes no sense at all.
Please, either try to find a better translation of your question to English, or find a site in your own native language, as they may be able to help you better than we can!
It may be worth you writing a longer, fuller question in your native language and then using Google Translate to convert it to English.
Use the "Improve question" widget to edit your question and provide better information.
ZurdoDev 6-Jul-15 8:58am    
Yes, deny users="?" will deny anonymous access so anyone trying to get to it will be redirected to login page if they have not authenticated yet.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900