473,413 Members | 1,795 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,413 software developers and data experts.

Login interface

I'm starting to write a login interface using php and I need to know some of
the hazards that I need to watch out for.

A couple of issues I was wondering about are the encryption used, how to
store(mysql, xml, etc), and how the session control works(how to I know its
the same user that has been logged from page to page).
I was thinking of simply uisng sha when I store the username and passwords
to store the hash(without storing the actual password). I was going to use
MySQL but was thinking maybe I could just use xml or a text file since it
doesn't need anything special. The MySQL might be more secure in this
respect though and its probably easier. I'm just worried about security
here.

The session stuff I think can be taken care of with the sessions object?

I haven't programmed in php before but it seems pretty much just like C/C++
except for a few silly syntaxes. I'd rather program in asp because the tools
are very nice and sophisticated but php is much more cost efficient.

Trying to get a solid outline in my head so I can start programming. The
main thing I'm worried about is security for the login information. I figure
using a text file on the server in a private directory would do a good job
and I wouldn't have to worry about SQL injection attacks on it.

Any ideas?

Thanks,
Jon
Feb 13 '07 #1
0 1081

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

Similar topics

2
by: Tom Koenning | last post by:
I have been trying to solve a web login problem for a few weeks. There are two interfaces to the Oracle 8i database--client-server and web. The client-server interface has continued to function...
14
by: clintonG | last post by:
This is an appeal for peer support sent to Microsoft as will be noted in closing. The Login control does not include a Cancel button. The only option is to convert the Login control to a...
5
by: Glen | last post by:
Does anybody know a way to make the button on the Login control be the default button on the page? I have a master page with an ImageButton and a content page with a Login control. When I enter...
4
tolkienarda
by: tolkienarda | last post by:
Hi all I work for a small webdesign company and we have remote hosting. i built a mysql database with phpmyadmin on the server. i then downloaded and modified a php login page. i am continuing to...
1
by: Jman | last post by:
Is it possible to do a login from the code instead of using the interface?
6
by: Fred Ho | last post by:
I have an access database, and want to make an login interface for (guest/staff/administarator). The guest should just able to use the form with buttons search/print only. The staff able to use the...
1
by: madankarmukta | last post by:
HI, I created the process which is hook to launch just before the Desktop appears and after the login credentials are entered by the machine owner.In Xp it is giving the expected result i.e. my...
9
by: adweaver | last post by:
Hello All, I'm new to the world of php. I've just had a site designed for me by a company, and I'm now trying to manage and grow it, so it will suit my needs. The site was built in a folder...
2
by: florina | last post by:
I must write a code for a hospital patiens with 5 interfaces. First interface: "Login button" 2 interface:"serach button" 3 interface:"reports" 4 interface :a menustrip with help and about 5...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...
0
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...

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.