- 0
[PHP] My Method Of A Secure Login System
Asked by
Breakthrough,
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By Fiza Ali · Posted
65-inch Samsung Crystal UHD DU8000 series Smart TV is back to its lowest price by Fiza Ali Amazon is once again offering the 65-inch Samsung DU8000 Series Smart TV at its lowest price. The DU8000 offers a Crystal UHD LED panel that delivers a native 3,840 × 2,160 resolution while the Crystal Processor 4K employs AI‑driven upscaling to optimise lower resolution content to 4K clarity. For picture quality, the DU8000 supports a comprehensive High Dynamic Range (HDR) suite including HDR10, HDR10+, and HLG alongside Film and Filmmaker Modes. Dynamic Crystal Colour enhances colour volume for richer, more accurate hues, and Mega Contrast with UHD Dimming boosts depth and definition in both bright and dark scenes. Furthermore, the Motion Xcelerator engine maintains smooth motion clarity at 60Hz. Gaming on this model should be good with Auto Low Latency Mode (ALLM), Variable Refresh Rate (VRR) support, and HGiG customisation, promising minimal input lag and fluid frame rates. HGiG (HDR Gaming Interest Group) customisation ensures that HDR content in games is displayed as the developers intended by applying standardised tone mapping tailored to gaming, rather than general HDR video settings. This helps prevent overly dark shadows or blown-out highlights, maintaining detail and visual consistency across a wide range of game environments. Moreover, a dedicated Gaming Hub offers streamlined access to cloud gaming services and console content. Audio is driven by a 20W (2‑channel) system featuring Samsung’s Object Tracking Sound Lite (OTS Lite) and Q‑Symphony which synchronises TV speakers and compatible soundbars for multidimensional sound without overlap. Adaptive Sound analyses each scene to optimise dialogue and effects, while dual‑device Bluetooth pairing allows wireless connection of headsets or external speakers. Furthermore, the Tizen Smart TV platform offers a built‑in Bixby voice control and compatibility with Alexa and Google Assistant. Connectivity options include three HDMI 2.0 ports (with eARC/ARC), two USB‑A ports, Ethernet, optical digital audio out, RF in, and dual‑band Wi‑Fi 5 (802.11ac). Accessibility features include multi‑language Voice Guide, high‑contrast and zoom modes for low‑vision users, closed captions and sign‑language zoom for the hearing impaired, and slow‑repeat buttons and a remote‑control app option for those with motor impairments. 65-inch Samsung Crystal UHD DU8000 Series HDR Smart TV: $399.99 (Amazon US) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases. -
By branfont · Posted
I'm not exactly sure where to post this, so move it if needed. Where can I get a Windows 11 Pro upgrade key cheap? The one I bought through Neowin Deals no longer works, and I just bought a new laptop & want to upgrade from Home to Pro. -
-
By 1for-matik · Posted
Except Rolling Releases. No EOL, continuous updates. -
By +sphbecker · Posted
True, Windows 95 could barely run on systems made in 1995. Two responses, first, people did complain in the 90s about how quickly software updates obsoleted hardware, so it isn't like it was fine then and not now. Second, it hits a little different when the requirement is seemingly arbitrary instead of a true resource requirement.
-
-
Recent Achievements
-
Stephen Leibowitz earned a badge
Week One Done
-
Homayoun Hotak earned a badge
Week One Done
-
Profit earned a badge
Dedicated
-
hhgygy earned a badge
One Month Later
-
hhgygy earned a badge
Week One Done
-
-
Popular Contributors
-
Tell a friend
Question
Breakthrough
I came up with a method I'm sure is in use somewhere else, but I was just wondering if any of you either used this before, or know of any flaws with this method. Right now I'm working on creating a content management system, and wanted to create the most secure method to login over HTTP.
What I came up with is this:
1. User requests the login page
2. Server generates a random string, sets it in $_SESSION
3. This string is sent to the client's browser in a hidden <input /> tag.
4. When the user logs in, two things happen: First, the SHA1 value of their password is calculated. This value is then appended to the random string from the hidden input, and the SHA1 value of that entire string is taken again. (So the string looks like this - password = sha1(sha1(password) + rand_string) - this is all done client-side, with JavaScript.
5. Now the server has three inputs from $_POST - the username, the double-encrypted password, and the random string. The server first locates the administrator username on the user table, then takes the password (stored as an SHA1 value), and adds the random string to it, and gets the SHA1 value (similar to what was done in JavaScript above). Then it's a simple comparison.
6. For some additional security, the value of the random string is also checked against the $_SESSION variable. Each login attempt clears this variable as well - so the user must continually request the form each time.
Thoughts?
Link to comment
https://www.neowin.net/forum/topic/809738-php-my-method-of-a-secure-login-system/Share on other sites
30 answers to this question
Recommended Posts