473,769 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to remove Security Question and Security Answer from membership provider?

50 New Member
How to remove Security Question and Security Answer from membership provider?
Following is my codes. Please tell me how to remove Question and Answer from membership provider. Thank you for replying.

CreateNewWizard .aspx
[HTML] <asp:CreateUser Wizard ID="CreateUserW izard1" runat="server">
<WizardSteps>
<asp:CreateUser WizardStep runat="server">
</asp:CreateUserW izardStep>
<asp:CompleteWi zardStep runat="server">
</asp:CompleteWiz ardStep>
</WizardSteps>
</asp:CreateUserW izard>[/HTML]

Web.config
[HTML] <membership defaultProvider ="CustomizedPro vider">
<providers>
<add name="Customize dProvider"
type="System.We b.Security.SqlM embershipProvid er"
connectionStrin gName="SqlServe rConnectionStri ng"
applicationName ="MTSchool"
passwordFormat= "Clear"
minRequiredPass wordLength="1"
minRequiredNona lphanumericChar acters="0" />
</providers>
</membership>
<profile enabled="true">
<properties>
<add name="Country" type="string"/>
<add name="Gender" type="string"/>
<add name="Age" type="Int32"/>
<remove name="security question"/>
</properties>
</profile>[/HTML]
Oct 26 '07 #1
4 3075
jhardman
3,406 Recognized Expert Specialist
I've moved your post to the .NET forum since it is obvious that you are using ASP.NET and not ASP. However, I am not sure you are making a clear question. Please explain what is happenning and how you want that to change.

Jared
Oct 26 '07 #2
kenobewan
4,871 Recognized Expert Specialist
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Oct 27 '07 #3
vincent90152900
50 New Member
I've moved your post to the .NET forum since it is obvious that you are using ASP.NET and not ASP. However, I am not sure you are making a clear question. Please explain what is happenning and how you want that to change.

Jared
Thank you very much.
Oct 29 '07 #4
vincent90152900
50 New Member
Here is a way you can do it at runtime:
Runtime Web.config / App.config Editing
Thank you very much.
Oct 29 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

9
10847
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using LDIFDE as a comparison I get the same results. No members means just that, an empty group. Zero means that the DirectorySearcher.SizeLimit has been exceeded....
1
1606
by: Philipp Lenz | last post by:
I'm completely new to ASP.Net 2.0 and I'm baffled about what to do to get this to work. FYI, I'm not new at this, I've used asp.net 1.1 for allmost 4 years now. I'm running a development machine running Team Foundation Server, VS.net 2005 Team Suite and SQL Server 2005, all freshly installed and working (all final, no betas). I've built my first website and, having worked with sharepoint for
1
1526
by: J.G. | last post by:
I have set up my web application to utilize an ADAM membership provider. Everything is going well, except I do not wish to utilize the built-in PasswordRecovery control (I don't want the randomly generated password emailed to the user). I want to ask the user the security question, check the answer, and then allow them to immediately change their password. By utilizing the built-in CreateUserWizard, the security answer is...
9
2175
by: Paul Keegstra | last post by:
Hi, I am currently working on an asp.net 2.0 web site that is a replacement of a classic asp web site. The current web site uses a Commerce Server 2002 database for storing user information. It does not currently use any of the Commerce Server 2002 functionality with the exception of the user authentication features. I have written my replacement application to use a custom login form and custom connection string so that I can use...
1
1608
by: Karl | last post by:
We have an application that uses the new ASP.Net 2.0 membership security, but we are writing the backoffice administration for it in vb.net as an in house product. We would like to be able to create users using batch file from our customers and in doing this we will need to access the new asp.net membership security from vb.net 2005. I have created a reference to system.web and can see all the classes and members but there doesnt seem...
5
3333
by: Coaster | last post by:
I added security using the asp.net web site configuration tool and now I want to remove it. I tried removing default provider via the asp.net settings but it won't let me. It gives an error stating the provider name must be at least 1 character long. I want to use authentication but the simplified version of storing user names and passwords in the web.config. thanks
1
948
by: Cirene | last post by:
I am creating an ASP.NET 2.0 website. Rather than using all the membership functions I wanted to just create my own SQL Server db and use SESSION vars to track if the user is logged in etc... Is doing it in this way just as secure? I know that the "membership" stuff will save me some coding, but I was just thinking.... Thanks.
2
5613
by: Nathan Sokalski | last post by:
When I call System.Web.Security.Roles.GetRolesForUser() it returns no results (an array of length 0) even though I have roles associated with the currently logged in user. I am able to get the username by calling System.Web.Security.Membership.GetUser().UserName. Why am I unable to get the Roles, and what could I need to change? The <membershipand <roleManagerelements in my Web.config are as follows: <membership...
2
7667
by: Ken Fine | last post by:
I want to add the security question and answer security feature to the ChangePassword control. I am aware that this functionality is built into the PasswordRecovery tool. I have implemented the PasswordRecovery with a Password reset required; a temporary password is sent to the account on file. I want an extra layer of security to accommodate the very unlikely contingency that someone's e-mail account is compromised. Challenging with the...
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8863
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7403
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.