Create A Secure Login Page Using VS 2010 / VB.Net?

Apr 4, 2011

I would like to create a secure login page for a pre-defined set of users (so no creating username/passwords by the users themselves). I've looked up a few sites and they all seem to suggest using Microsoft's Membership or something. I am not very sure as to why that's used, but all you need to know is that I will be creating the login details. I just need to make the login secure, ie, no duplicate logins, no logins from different browsers and cookies and sessions and encryption and all that. Any one have the code/links to where I can get all this?

View 1 Replies


Similar Messages:

How To Create A Secure Login Page Using VS 2010/VB.Net

Feb 9, 2011

I would like to create a secure login page for a pre-defined set of users (so no creating username/passwords by the users themselves). I've looked up a few sites and they all seem to using Microsoft's Membership or something. I am not very sure as to why that's used, but all you need to know is that I will be creating the login details. I just need to make the login secure, ie, no duplicate logins, no logins from different browsers and cookies and sessions and encryption and all that.

View 2 Replies

Security :: Secure Login From A Non Secure HTTP Page?

Oct 24, 2010

I have a custom mini login user control that I have embedded in the top of my website which shows on every page. These pages are non-secure HTTP://. I would like to avoid having to redirect the user to a HTTPS page to perform the login but I definitely don't want to send login credentials to the server in plain text.

I am trying find a method to send the user's login credentials encrypted via https from a non-secure (http) page.

I tried to set the postbackurl for the login button to itself but in https, but the user's input is not retained and the buttonLogin_click is not fired when I set the button postbackurl property. My ASP.net web application is VB.Net framework 4.0

I am assuming this can be done because I see lots of websites where login fields are on available on every page and they are running http and I can believe they are not encrypting the login credentials.

View 3 Replies

Secure Login With Additional Context Information Passed Through (which Also Needs To Be Secure)

Jul 13, 2010

My web application will be launched through existing thick client applications. When launched, an HTTP POST request will be generated including information like the userID and additional context information (basically stuff like the target user's name, birthday, etc.).

My plan for authentication is for there to be a look-up table in the database. If the username is already there, automatically login the user, but if there is no entry in the database, redirect the user to an initial login page which will be used to create that database entry.

My question is how to secure this against MITM and other security holes. How can the request generated through the thick client be on an SSL connection? Doesn't an SSL connection have to be authenticated with the username (and password) first? And if so, will the additional context information be publicly exposed until the user is logged in?

View 1 Replies

Security :: How To Make A Secure Login Page Using Sql Database By Matching A User Name And Password

Dec 31, 2010

How to make a secure login page using sql database by matching a user name and password and redirect them to differnt page as admin and user

View 2 Replies

SQL Server :: Create A Login Page That Will Use This Database And Table To Authenticate The Login?

Sep 24, 2010

I dont know where to start, but I have a simple issue that you may be able to resolve.

I have a SQL database that contains a table with user name / password / Account level in it.

What I am trying to do is to create a Login page that will use this database and table to authenticate the login.

I have spent some time looking about for an example, and the nearest that I have found is for an access Database, but I really need this to work with SQL.

View 2 Replies

HTTPS Doesn't Work - Secure And Non Secure Data On Web Page?

Oct 25, 2010

I have a browser compatibilty problem with https? I have SSL installed and is in usage. Until today morning, my https part is working well. From then, Https is shown as https(with slashed in red color) saying the page has some insecure content. I have not changed any code and suddenly i see this problem in chrome. In IE 8, i see the same problem but on every page, it shows me a popup if i should allow to opne secure and non secure or just secure. Firefox has no issues . It shows correct https without any problem. I am fed up with it searching all over. Why is this happenening for me in Chrome and IE 8.

View 3 Replies

Convert Secure Page In PDF / Generate The PDF Of A Secure Page In C# Asp?

May 28, 2010

I am developing a web application in which the clients wants to send a pdf copy of aa Authenticated Page to users and as well as to the administrator..

As I google about this problem but didnt find any solution.

Because in all cases I have to pass the url of the secure page to the function...and in runtime when function make a webrequest to the page it will always generate the PDFof the login page.

So is there any way to generate the PDF of a secure page in C# ASP.Net

View 1 Replies

Page Contains Both Secure And Non Secure Items

Sep 17, 2010

I'm working on a legacy web application - frames and a mixture of html, asp and aspx. The entire site is https. For some strange reason when I hit a specific page I get the magic message that says the Page contains both secure and nonsecure items. (IE obviously doesn't want to tell me what those resources are) I have checked the page that's being loaded and there are absolutely no http://... links - everything is relative links.

I have fired up fiddler and checked what's being requested - everything looks fine. I am completely at wit's end here. I have absolutely no idea why I'm getting this message, but it's completely screwing with the site.

View 3 Replies

How To Develop A Site With Secure Login

Nov 23, 2010

I want to develop a site with secure login. i followed various tutorials, and created a site, based on the default master page. I believe i set up the asp.net configurations correctly. under security, changed authentication type to "from the internet", added roles, added users based on those roles. when i compile the project and test the log in, it works fine. but, in visual studio 2010's Solution Explorer the App_Data folder is grayed out and i cannot get into it to view the database. how do i view the tables and create new tables?

View 4 Replies

Making A Secure Login Cookie?

Mar 5, 2011

I've recently read one of Jeff's articles about XSS and it got me thinking about how to better protect the login cookies in my home cooked authentication system.

[code]....

so one of the questionable things I do is use the UserAgent string. Is there harm in doing this? Or browsers which will change their UserAgent string under normal operation(as in, without being updated)? My goal is basically for if an attacker gets a login cookie, for them to not be able to do anything with it. At the moment, the only info I store in the cookie plain text is the username.

View 1 Replies

VS 2010 - Secure Folder For Non ASPX Files

Jul 2, 2012

My client is moving from a linux to a windows shared server that uses the following:

Plesk Panel 9.5
PHP Version 5.2.13
ASP.NET framwork version: 2.0.50727.0

They currently are using .htaccess in several folders that make the user have separate credentials that relate to each folder.

Is there a way to do this on the new location using web.config? I tried using .htaccess but doesn't seem to work. I am able to get the .aspx files in a folder so if accessed and not logged in it goes to a login page.

If I have a bunch of .html pages in a folder, can I configure web.config so if someone goes to one of the .html pages direct it asks for credentials?

View 6 Replies

Security :: Secure Login Form Without Using WSAT?

Jul 13, 2010

I wish to do a simple and secure login form, for which I have seen tutorials keeping login information and roles set through the ASP.Net WebSite Administration Tool.

Is there any secure way to do a login page without using WSAT at all. provide me good tutorial links for creating a custom login form, having the capability of redirecting to login page if user is not authorized etc.

I don't wish to use the WebSite Administration Tool.

View 6 Replies

Security :: Broken Links On After Secure Login?

Feb 25, 2010

I have a masterpage that contains a number of links. When I login to the secure area of my website, the links are broken they are trying to access the page as if it was stored in the SecurePages folder. Code below:

[Code]....

View 8 Replies

Security :: Is Login System Integrated Within Secure

Jun 18, 2010

i was just wondering how much secure is the Login System integrated within ASP.NET ? This is rather vague but i just wanted to know if a website using the system is rather protected to attacks.

View 3 Replies

C# - How To Secure Login And Member Area With SSL Certificate

Mar 6, 2010

Background: I have a asp.net webapplication project that should contain a public and a member area. Now I want to implement a SSL decription to secure communication between the client and the server. (In the university we have a unsecured wireless network and you can use a wlan sniffer to read username/password. I do not want to have this security problem for my application, so I thought of a ssl decription)

The application is running on a IIS 7.5. It it possible to have one webapp that has unsecured pages (like the public area) and a secured area (like the member area, which requires a login)? If yes, how can I relealise the communication between these too areas?

Example:

My webapp is hosted on http://foo.abc.

I have pages like [URL]

In the same project is page like /member/default.aspx which is protected by a login on the page

[URL]

So I would need to implement SSL for the page /login.aspx and all pages in /member/

How can I do that? I just found out how to create SSL certificates in IIS 7.5 and how to add such a binding to a webapp. How how can I tell my webapp which page should be called with https and not with http. What is the best practise there?

View 3 Replies

Web Forms :: Secure Method To Check For Login Details

Jan 19, 2012

Any secure method to check for login details..How to check for username and password against database in a secure way.. I do not want to use datareader object.. Is there any other way?

View 1 Replies

Security :: Create Registration Page And Login Page

Aug 22, 2010

I have design form layouts for signup and login pages

provide me the step by step code for sign up and login pages using c# with validation.

View 1 Replies

Security - How To Create A Login Page Using C#

Jul 1, 2010

As the title says, if I'm using SQL parameters, ie

SQLCommand cmd = new SQLCommand("select * from users where username = @user and password = @pass limit 1", Cxn);

cmd.Parameters.Add("@user", SqlDbType.VarChar):
cmd.Parameters.Add("@pass", SqlDbType.VarChar):

Can I just enter the parameters value as the direct entry from the input?

cmd.Parameters["@user"].value = txtBxUserName.text;
cmd.Parameters["@pass"].value = txtBxPassword.text;

View 3 Replies

Security - Create A Login Page Using C#?

Feb 9, 2010

I would like to create a login page using ASP.NET. I don't want to use the ASP.NET login control.

How do I do this?

View 1 Replies

Security :: Create A Login Page?

Dec 27, 2010

I m trying to create a login page. I also show the login status and login name. When I run the page, it shows my username that I login to the windows and give me the logout option. Wheather I have created a new user within the asp.net create user wizard.

View 2 Replies

Security :: Trying To Create A Login Page On Website?

Jan 6, 2010

I am trying to create a login page on my website. When I view the page in a browser and enter the login name and password, I receive the following error message:

Server Error in '/membership' Application.

Cannot open database "aspnetdb" requested by the login. The login failed.
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.

Description:

An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot open database "aspnetdb" requested by the login. The login failed.
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.

Source Error:

[Code]....

Stack Trace:

[Code]....

I was able to connect to the aspnetdb database using the Web Site Administration Tool. The aspnetdb database is not in the App_Data directory.

I have the following lines in my web.config file:

<connectionStrings>

View 6 Replies

Security :: Create A Login And Sign In Page?

May 17, 2010

I have many problems. I see the start Login page in Visual Studio 2010 Express. Now, how can create a user? I don't know how can use the db!: My db is Mysql

View 3 Replies

Security :: Create Own Authorization Login Page?

May 26, 2010

which is the best method to create own customized login page?

i m not interested to use inbuilt controls, thts why m want to make own sign up pages and login page

View 3 Replies

Security :: How To Create A Login Page And Authenticate It By Using Sql

Aug 14, 2010

how to create a login page and authenticate it by using sql..?

View 4 Replies







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