473,405 Members | 2,445 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,405 software developers and data experts.

Encrypted Login But Not Server-Based Authentication


I want user authentication to a MySQL system

1. The server will set up with the client to encrypt username/password
during transport, but the server does not authorize user at any level.

2. Username/password is in user table of MySQL, and MySQL will report
successful authentication.

Most of the schemes I've seen in the web seem to transport the password in
plaintext...isn't this an OBVIOUS security flaw?

How can I handle this?

PHP Interface version 5
Server: IIS 7.0 (running on VEEsta) but possibly Apache too
Aug 17 '08 #1
4 1134
On Aug 17, 9:31 am, Five By Five <5...@5x5.comwrote:
I want user authentication to a MySQL system

1. The server will set up with the client to encrypt username/password
during transport, but the server does not authorize user at any level.

2. Username/password is in user table of MySQL, and MySQL will report
successful authentication.

Most of the schemes I've seen in the web seem to transport the password in
plaintext...isn't this an OBVIOUS security flaw?

How can I handle this?

PHP Interface version 5
Server: IIS 7.0 (running on VEEsta) but possibly Apache too
Two I can think of
Best/easiset method - use an SSL connection, that way all of your
communication is encrypted.

Do something with javascript on the client to encrypt the data before
sending, but then again you can't really trust most any client to
provide security even if the codse transmits OK who is to know if
there is no spyware app on the client listening in and reproducing the
encrypted data for someone else..

Then again

You might look into another separate form of validation like a
changing token value or something instead.

Aug 17 '08 #2
Http Digest Authentication might be worth looking at

http://uk2.php.net/features.http-auth
Aug 17 '08 #3
la***@portcommodore.com wrote in comp.lang.php:
On Aug 17, 9:31 am, Five By Five <5...@5x5.comwrote:
>I want user authentication to a MySQL system

1. The server will set up with the client to encrypt
username/password during transport, but the server does not authorize
user at any level.

2. Username/password is in user table of MySQL, and MySQL will report
successful authentication.

Most of the schemes I've seen in the web seem to transport the
password in plaintext...isn't this an OBVIOUS security flaw?

How can I handle this?

PHP Interface version 5
Server: IIS 7.0 (running on VEEsta) but possibly Apache too

Two I can think of
Best/easiset method - use an SSL connection, that way all of your
communication is encrypted.
I don't really even care if the entire session is encrypted, just the
login.

But I will look into enabling SSL on IIS.
>
Do something with javascript on the client to encrypt the data before
sending, but then again you can't really trust most any client to
provide security even if the codse transmits OK who is to know if
there is no spyware app on the client listening in and reproducing the
encrypted data for someone else..
I am assuming client security...if they let key loggers on their host or
are using a publicly used host, they assume the risks even in the face of
warnings.
>
Then again

You might look into another separate form of validation like a
changing token value or something instead.



Aug 17 '08 #4
On 17 Aug, 17:31, Five By Five <5...@5x5.comwrote:
I want user authentication to a MySQL system

1. The server will set up with the client to encrypt username/password
during transport, but the server does not authorize user at any level.

2. Username/password is in user table of MySQL, and MySQL will report
successful authentication.

Most of the schemes I've seen in the web seem to transport the password in
plaintext...isn't this an OBVIOUS security flaw?

How can I handle this?

PHP Interface version 5
Server: IIS 7.0 (running on VEEsta) but possibly Apache too
This is pretty much becoming a FAQ on this NG - try google for PHP
authentication password hash

(the best answer is to use SSL)

C.
Aug 19 '08 #5

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

Similar topics

8
by: Philipp Brune | last post by:
Hi all, the following problem occured to me and I hope somebody can help me : I need to implement an encrypted File download with a PHP script on the server side and a c# client application....
3
by: Michael | last post by:
Hi folks, i have to build a web-application for the internet where the user gets a form where he can fill in his name, adress and so on. He also can provide a credit number. The data will be...
2
by: David Kyle | last post by:
Hello, I'm building a web application where I need to have some post data encrypted. An example would be something like this: <input type=hidden value='<%# GetEncriptedData() %>'> ...
2
by: mtanner | last post by:
I have a aspx page that is not secured via SSL, and the page must remain unencrypted. However, the page includes a web user control (ascx) that contains textboxes and submit button for login. The...
0
by: VBTricks.de.vu Webmaster | last post by:
Hello, I'm trying to implement an encrypted communication with a PHP script. All the basic stuff (HTTP protocoll, base64) is working. The only problem is that this method works only for the...
8
by: robert | last post by:
Hello, I want to put (incrementally) changed/new files from a big file tree "directly,compressed and password-only-encrypted" to a remote backup server incrementally via FTP,SFTP or DAV.... At...
5
by: Ranginald | last post by:
Hi, I have a question about encrypting connection strings in an asp.net 2.0 app in a shared hosting environment. From what I have read, I believe I need to programatically encrypt and decrypt...
2
by: Ranginald | last post by:
Hi, Assume I have an asp.net/sql server 2000 web app in a shared hosting environment. I then encrypt the connection string using ProtectSection("DataProtectionConfigurationProvider") in the...
2
by: bbawa1 | last post by:
Hi All, I have a login status control in my aspx page and I want to encrypt the login passward and compare with encrypted tbUsers.UserPass where tbUsers is the name of my table and UserPass is...
4
n8kindt
by: n8kindt | last post by:
i'm trying to create a secure scenario where no one will be able to know our encrypted database passcode. BUT if they login to a form in another database successfully, it will open the encrypted...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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...
0
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,...
0
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...
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
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...
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,...

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.