Click here to Skip to main content
15,900,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerConsider Opensource as a contributor Pin
David Mujica18-Jan-10 3:43
David Mujica18-Jan-10 3:43 
GeneralRe: Consider Opensource as a contributor Pin
cullyk18-Jan-10 10:19
cullyk18-Jan-10 10:19 
GeneralRe: Consider Opensource as a contributor Pin
cullyk18-Jan-10 10:30
cullyk18-Jan-10 10:30 
QuestionWhat is the difference between Managed and Unmanaged Code in .NET? Pin
sandhya1417-Jan-10 19:45
sandhya1417-Jan-10 19:45 
AnswerRe: What is the difference between Managed and Unmanaged Code in .NET? Pin
Abbas_here17-Jan-10 20:27
Abbas_here17-Jan-10 20:27 
AnswerRe: What is the difference between Managed and Unmanaged Code in .NET? Pin
rahul.net1117-Jan-10 20:28
rahul.net1117-Jan-10 20:28 
AnswerRe: What is the difference between Managed and Unmanaged Code in .NET? Pin
Brij17-Jan-10 22:14
mentorBrij17-Jan-10 22:14 
Questiondeny tag of web.config not working on production server Pin
THE SK17-Jan-10 18:16
THE SK17-Jan-10 18:16 
Hi All

I have a website on which I am using following setting in web.config

1. to use forms authentication
<authentication mode="Forms">
      <forms name="MyApplication" loginUrl="/_layouts/CommerceServer/CommerceloginPage.aspx" />
    </authentication>


2.To secure a folder named MyAcc from anonymous access
<location path="Pages/MyAcc" allowOverride="false">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>


3.The membership provider
<membership defaultProvider="UpmProvider">
      <providers>
        <add applicationName="MyApplication"
 enablePasswordRetrieval="false"
 enableEmailAddress="true" 
 name="UpmProvider" 
  type="Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider,Microsoft.CommerceServer.Runtime,
 Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" enablePasswordReset="true" requiresQuestionAndAnswer="false"
passwordFormat="Hashed"
 PasswordStrengthRegularExpression="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,50}$" />

      </providers>
    </membership>


Now the challenge is on my development server the deny tag works fine i.e when an anonymous
user try to access pages
which are there in MyAcc folder,the user gets redirected
to login page.

On the other hand on production site,the anonymous user is able to access the pages of MyAcc folder.

Please suggest what could be wrong.Is there any other way to secure thge pages from anonymnous access.

Thanks

Regards
Sandeep Kalra

modified on Monday, January 18, 2010 12:29 AM

Questionhandle backspace key Pin
hi_everybody17-Jan-10 1:19
hi_everybody17-Jan-10 1:19 
AnswerRe: handle backspace key Pin
Brij17-Jan-10 1:56
mentorBrij17-Jan-10 1:56 
GeneralRe: handle backspace key Pin
Prosanta Kundu online17-Jan-10 17:08
Prosanta Kundu online17-Jan-10 17:08 
GeneralRe: handle backspace key Pin
Brij17-Jan-10 22:08
mentorBrij17-Jan-10 22:08 
GeneralRe: handle backspace key Pin
hi_everybody17-Jan-10 22:19
hi_everybody17-Jan-10 22:19 
GeneralRe: handle backspace key Pin
hi_everybody19-Jan-10 1:02
hi_everybody19-Jan-10 1:02 
GeneralRe: handle backspace key Pin
Prosanta Kundu online20-Jan-10 16:53
Prosanta Kundu online20-Jan-10 16:53 
QuestionStill having problems with ASP.NET [modified] [Solved] Pin
theOzLizard16-Jan-10 13:57
theOzLizard16-Jan-10 13:57 
AnswerRe: Still having problems with ASP.NET [modified] [Solved] Pin
theOzLizard17-Jan-10 11:48
theOzLizard17-Jan-10 11:48 
QuestionCan I embed an ActiveX control in a ASP.NET MVC View? Pin
Nirav Doshi16-Jan-10 6:33
Nirav Doshi16-Jan-10 6:33 
AnswerRe: Can I embed an ActiveX control in a ASP.NET MVC View? Pin
April Fans18-Jan-10 15:02
April Fans18-Jan-10 15:02 
Questionmulti user issue Pin
aamirzada15-Jan-10 19:21
aamirzada15-Jan-10 19:21 
AnswerRe: multi user issue Pin
Brij15-Jan-10 21:14
mentorBrij15-Jan-10 21:14 
GeneralRe: multi user issue Pin
aamirzada27-Jan-10 21:20
aamirzada27-Jan-10 21:20 
QuestionSession usage Pin
Mycroft Holmes15-Jan-10 11:27
professionalMycroft Holmes15-Jan-10 11:27 
AnswerRe: Session usage Pin
Ennis Ray Lynch, Jr.15-Jan-10 11:59
Ennis Ray Lynch, Jr.15-Jan-10 11:59 
AnswerRe: Session usage Pin
N a v a n e e t h15-Jan-10 18:00
N a v a n e e t h15-Jan-10 18:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.