Hi, Doe's anyone know how I can add a register and login page to my website.
or point me to a step by step tut on how to do it :?:
Thanks
Hi, Doe's anyone know how I can add a register and login page to my website.
or point me to a step by step tut on how to do it :?:
Thanks
As asked about adding registration/login and and gave initial pointers, the items below fill in the practical gaps most beginners miss: concrete security controls, the account lifecycle, and simple UX rules that make an auth system safe and usable.
A straightforward implementation workflow:
id, email (unique), password_hash, created_at, last_login,
is_active, verification_token_hash, reset_token_hash,
failed_login_count, lock_expires_at is_active=false, generate a crypto-random token, send it via email, store only the token hash.is_active.is_active and lock_expires_at, verify password hash, reset failed count, create a secure session.For authoritative, detailed guidance on safe authentication and password handling, see OWASP’s cheat sheets: Authentication Cheat Sheet and Password Storage Cheat Sheet.
Jump to Post— Dani 5,664If you just want to password protect a section of your site, this can be done with an .htaccess file. However, if you want a full-scale registration / login type thing, you'll need to use a scripting language such as PHP.
If you just want to password protect a section of your site, this can be done with an .htaccess file. However, if you want a full-scale registration / login type thing, you'll need to use a scripting language such as PHP.
Pretty simple. Use a scripting language that your web server can handle. eg. ASP for IIS, JSP/Servlet for tomcat Perl/CGI or PHP for Apache. and use a database at the back. you can also use a .htaccess file and have a script to register the users.
cheers
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.