473,385 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Create Login page

Hi,

Does anyone know, How to create a Login Page & read the username &
password from xml file.
Like my XML file is going to store the username & password. & when
user is going to put the username & password in Login Page, It will
check it on XML File. Grab the Username & print Hi Username.

Thanks
Nov 18 '08 #1
3 3725
webmaniac <su**********@gmail.comwrites:
Hi,

Does anyone know, How to create a Login Page & read the username &
password from xml file.
Like my XML file is going to store the username & password. & when
user is going to put the username & password in Login Page, It will
check it on XML File. Grab the Username & print Hi Username.
You don't want to do this in client-side javascript. Is this homework?

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
Nov 18 '08 #2
Joost Diepenmaat wrote on 18 nov 2008 in comp.lang.javascript:
webmaniac <su**********@gmail.comwrites:
>Hi,

Does anyone know, How to create a Login Page & read the username &
password from xml file.
Like my XML file is going to store the username & password. & when
user is going to put the username & password in Login Page, It will
check it on XML File. Grab the Username & print Hi Username.

You don't want to do this in client-side javascript. Is this homework?
A school assignment, methinks.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Nov 18 '08 #3
Joost Diepenmaat wrote:
webmaniac <sunnyluth...@gmail.comwrites:
>Does anyone know, How to create a Login Page & read the username &
password from xml file.
Like my XML file is going to store the username & password. & when
user is going to put the username & password in Login Page, It will
check it on XML File. Grab the Username & print Hi Username.

You don't want to do this in client-side javascript.
Probably not, but that doesn't mean that it can't be done in
javascript:

1. Fetch the XML-file with XmlHttpRequest and extract the stored
password from it
2. Encrypt the string that the user typed with a (visible) salt
http://groups.google.com/group/comp....6d1191285a15a4
3. Compare results

The problem is what should happen next; there are not many secure ways
to proceed :-) The only way I can think of is to redirect to another
page based on the unencrypted string that was typed by the user.

--
Bart
Nov 20 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Prog-M | last post by:
Hi. I'm trying to create a login page in asp.net using information from an XML document. (visual basic) I've tried Rowfilter to find a cell with the 'username' and then match this with the...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
2
by: Sasquatch | last post by:
I'm having trouble creating a simple login page using the asp:login control. I followed some instructions in a WROX book, "Beginning ASP.NET 2.0," and the instructions are very straight forward,...
1
by: ijevsk | last post by:
I have asp page of my system and when I click on the link I want to open new login page.If I enter to the system throuth this page my old session is overides. I wont that to have two pages with...
10
by: kai | last post by:
Hi, All I am trying to create a file folder for any login user, and create sub folders for the user on a web page. After the user login again, he can only sees his own folder on the Web page. I am...
2
by: ragavi | last post by:
hi all, i am new to asp.net and c#..in my project i want to create login page.. the logic is Administrator creates the Employees... Employees enters all the details about the customer. . ...
0
by: kang jia | last post by:
hi i am currently learning Django framework and i have to do a login page at the moment. i have used the code like following: from django.contrib.auth import authenticate, login def...
2
by: SpaceMarine | last post by:
ok im new to SQL Server 2005, from 2000. my webapps use integrated security, and run under: \\MYMACHINE\ASPNET ....in 2000 it was a pretty simple thing to create a new db user for this...
2
by: nja2222 | last post by:
I would like to create a page for my clients to login and check for updates on their accounts. Then I would like to create a page where my employees can login and make updates, specifically new file...
8
by: ssmeshack | last post by:
Hai All, Im doing a login page.... And that was without cookie.... I realy dono how to create cookie... pls anyone can help... Here is code from Default.aspx for login control: <asp:Login...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.