Security :: How To Create A User Login Control Without The Use Of Web Admin Tool

Apr 17, 2010

I'm looking for a way to create a login control without the use of web admin tool

Here are my system requirements

Windows 7 Visual Studio 2008 Professional Edition Microsoft SQL Server 2005 Express Edition ESET Anti-virus but SQL and Studio files excluded from being scanned. I have got a database. I've created the front end of the user login control manually not using the toolbox. Basically what I need is that once a user has registered. He then logs in. when he enters his username and password how do I code it so the database realises it's him/her and takes them to their LOGGED IN user

View 7 Replies


Similar Messages:

Security :: Using ASP Tools For Login And Create User / Login Tool Is Going To Get Userid And Password Info?

May 25, 2010

I've created a page to add users, using the CreateUserWizard, I use the Login Control to login.

I have setup the config file to use my SQL server, not express

<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=xxxx.xxxx.xxxx.xxxx;Initial Catalog=aspnetdb;Persist Security Info=True;User ID=xxxx;Password=xxxxxx" providerName="System.Data.SqlClient" />

I go to the create user page, add a user.

I can SEE the user on the database using Server Management Studio...

I go to signon and get "Your login attempt was not successful. Please try again."

I have not customized the login control in any way. (OR the createuserwizard)

HOW can I tell where the Login tool is going to get userid and password info?

How can I tell if it is not finding the user or the password does not match?

View 2 Replies

Security :: User Login Control - Launch The Web Administration Tool - Getting Some Exception Error?

Jun 22, 2010

Im using Visual Studio 2010. I'm new to asp.net. I'm trying to do a simple user login page but whenever I try to launch the Web Administration tool, I keep getting some exception error. The below images is the error I encountered.

View 4 Replies

Security :: User Login And Admin Login On The Same Site?

Oct 21, 2010

I have a login page for my users. And I want my admin login to have its own page. Right now I have to login as an admin in the same page as the users.

How can I have 2 login on my site? I get an error if I have authentication forms on both my web.configs.

View 6 Replies

Security :: Specify Location Of Aspnetdb With Login Control Db Admin?

Feb 25, 2010

my current vs2005, when setting up the login control, and using the built in admin the db function right on the

login control, creates the aspnetdb db in the folder, app_data, directly under the vs project folder. I want to get the db

in a folder of my choice under wwwroot in my inetpub. can this be done? otherwise it seems i have to copy the vs version

using my server mgt sql express. i've seen how to respecify the roles and membership functionality from the 4guys article

[URL], which i'm ready to do when the db is moved.

also isn't something like this necessary anyway when moving a vs project to some actual web app server?

View 4 Replies

Security :: Put A Login Control And A Create User Control On The Same Page?

Sep 13, 2010

I want to put a Login Control and a Create User Control on the same page.. just wondering, before I start am I going to run into any problems by doing this?

View 2 Replies

Security :: How To Use Login Control (with Xml) To Limit Visitors To Admin Page

Jan 9, 2010

I've set up a login control on a Login.aspx web page, which is authenticated using xml.

How do I stop people visiting my admin.aspx page when they are not logged in?

View 2 Replies

Security :: Create Admin Folder And Pages To Add User ,content ,authentication

Jan 13, 2011

i need some lessons in how to create admin folder and pages to add user ,content ,authentication, etc

View 2 Replies

Security :: Web Site Admin Tool - Cannot Establish Connection?

Aug 25, 2010

I have a question with this tool. I have a database listed in the App_folder, and the database has a connection in Server explorer. The connection string is listed in the web.config file, and I am able to add users and roles with the Web Admin Tool. However,when in the Web Admin Tool, under Configuration tab, I receive an error when I click on the "test" button. The error reads " Could not establish a connection to the database.If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider."

View 6 Replies

Security :: Creating An Admin Tool To Reset Password Without Question / Answer?

Oct 29, 2010

I'm dealing with a scenario where a legitimate user doesn't have a clue about his password, secret question or the answer. So, I was trying to create an admin tool that would help me in situations like these where the admin should be able to type in username and reset the password without having to know/enter answer to secret question. I understand that I need to make some changes to the web.config for this to work. I thought I made all the changes but my ResetPassword() requests are still not working.

Here's my web.config settings for the provider.

[Code]....

View 4 Replies

Security :: Create A Login Window From Where User Could Login From Their Gmail Or Others Id And Write

Aug 13, 2010

i m currently creating an article module, and i want if user wana comment on to the any particular artical, than he should login any of his mail id like gmail, yahoo hotmail etc and than post his or her comment and after than comment should go into the DB.

View 3 Replies

Use Gmail Or Live Service To Login In The Website But Limit Only One User (admin) To Login?

Dec 24, 2010

I've a Gmail account, assume that me@gmail.com. Now I want to login (as admin) in my website through this account. I know I can use OpenID etc. for that purpose but I want to limit it for just me only. Can I do this? I don't let anyone else to know which service I used to login and what is my address and etc. (Note: My website contains just one and only one login form, for just me, only!)

View 1 Replies

Security :: How To Authenticate And Login A User Without Using The Login Control

Feb 7, 2011

I have built a login form that does not use the asp.net 'login' control.

in my code behind i have this:

[Code]....

but this does not seem to maintain my user loged in... as soon as the user navigates to the next page he is loged out again...

View 3 Replies

Security :: Add A Tool Tip To The CreateUserWizard's "Create User" Button

Nov 7, 2010

I noticed this server control is unique in that even though you can convert it to template, you still cannot access the Create User button, unlike most composite user controls, where every child control is accessible after you convert the server controls to templates.

View 1 Replies

Security :: Admin Login Page To Edit The Contents?

Jul 19, 2010

In my web site I have a admin login page to edit the contents. Is it necessary that the default page has to be the login page..............Because in web.config file , under Authentication of Forms am using loginurl="MyLoginPage.aspx"......So is it compulsory that the Default.aspx =MyLoginPage.aspx.i mean to ask i should not change the name of default page or what?

View 5 Replies

Security :: Simple Admin Authentication With Login Page And Web.config

Mar 31, 2011

i want a simpe login systemm using webconfig file and one login.aspx page.

View 3 Replies

Create A Login Box As A User Control?

May 16, 2010

I'm starting out learning some ASP.Net programming and I'm going to be making a little community website for my friends and myself.

I was thinking of having a usercontrol and have that 'loginBox' shows the appropriate textboxes and login button, but also show his username when he is logged in.

Do you think I should handle this as a user control or am I missing something as an ASP.Net newbie?

View 2 Replies

How To Create A New User In Aspnetdb When Using Login Control

Sep 6, 2010

How to create a new user in aspnetdb when using login control

View 2 Replies

Security :: Admin And User Security Folder Setup

Mar 11, 2011

I am creating an application hosted on GoDaddy.com. The base files are kept in a folder called /sky while the Admin files and User files are kept in /sky/Admin and /sky/User respectively. I'm having difficulty configuring the security so that when a user tries to access Admin or User files they should be redirected to the login.aspx file in the /sky folder. I keep getting an error that its trying to access sky/sky/login.aspx instead of just sky/login.aspx.

Here are the relevant sections of my web.config file.

<?xml version="1.0"?>
<configuration>
...
<location path="sky/admin">
<system.web>
<authorization>
<allow roles="Admin" />
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="user">
<system.web>
<authorization>
<allow roles="Admin,User" />
<deny users="*"/>
</authorization>
</system.web>
</location>
<system.web>
<customErrors mode="Off" />
<authentication mode="Forms">
<forms name="login" loginUrl="login.aspx" />
</authentication>
...
</system.web>
...
</configuration>

Can someone point me to articles or provide assistance with the proper configuration?

View 3 Replies

Security :: .NET Web Site Administration Tool And Login Controls

Aug 10, 2010

login control portion of Murach's web dev w/ c# book. According to the books instructions, you create a Login.aspx page, add the login control to the page, and create the users and roles for the directories within the asp.net web site configuration tool. I still do not get prompted for user name and passord to access the pages I want to be secured. Why is this? Isn't the asp.net configuration tool supposed to edit the web.config file? I'm trying to follow the book to the letter and ensure that I am following correctly before posting for answers online. According to the book you do not have to edit anything or write code withing login.aspx page.

View 3 Replies

Security :: Create Login Control With DropDown List For Username?

Feb 18, 2011

I have an ASP.Net application that uses the Membership Login Control. The thing is, we wanted to avoid giving our members more than they need to worry about, so we didn't want to have to make each a custom username. So the thing is, I want to make the Login Control display a DropDown List populated with a list of usernames as opposed to a text box.

View 7 Replies

Security :: Create A Login Control Programmatically For Sql Server 2005?

Feb 6, 2010

implementing login control programmatically using sql server 2005. can anyone give me good web reference about the topic? i am new to this development.

development tool i am using:

>visual studio 2008
> sql server management studio 2005
>windows 7 ultimate(32 bit)

View 2 Replies

Security :: Create Super Admin Account?

Oct 21, 2010

On admin side how to create first secure admin account when there is no users/admin exists without manuall entry ?On any website how we can create Super admin account who will handle all the things? Except the entry in db manually. I c# or vb.net

View 1 Replies

Security :: Use Login Control For 3 Catagarios Of User?

Jan 29, 2010

I want to use Login Control for 3 catagarios of user

1-Students

2-parents

3-Administrator

how i will do it using Login Control.

If you some code it is most valuable for me.

View 2 Replies

Security :: Admin Node Doesn't Show On Live Site With Proper Login - VS Express 2008?

Jan 8, 2010

This is my third site that I use role management, but the first time this happens. I have two roles: Member and Admin. If Admin user login, Admin node on sitemap shows. It works very well on my local machine in Visual Studio Express 2008 and in Visual Studio Team 2008. But once I deploy files to live site, even admin login, the Admin node doesn't show. I have a Member management page from which I may see member's role, and I can see that user name is in the role Admin. What could be wrong?

I used ASP.Net Configuration manager to create roles, users, and access roles. Here is the code:

in general site.config

<siteMap enabled="true " defaultProvider="XmlSiteMapProvider">
<providers>
<add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider"
siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>

[Code]....

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved