Secure Members Area: PHP Solution for No SQL Hosting

  • Context: PHP 
  • Thread starter Thread starter Hootenanny
  • Start date Start date
  • Tags Tags
    web hosting
Click For Summary
SUMMARY

The discussion focuses on creating a secure members-only area on a website using PHP without SQL database support. The user seeks a solution that allows for user registration and password management while utilizing a flat-file database. Suggestions include leveraging PHP's built-in support for flat-file databases, specifically mentioning (g)dbm as a potential tool. The user also considers using .htaccess for access restrictions but finds it too limiting for password management.

PREREQUISITES
  • Basic understanding of PHP programming
  • Familiarity with flat-file databases
  • Knowledge of password encryption techniques
  • Understanding of .htaccess file configurations
NEXT STEPS
  • Research PHP flat-file database options, specifically (g)dbm
  • Learn about implementing password encryption in PHP
  • Explore user authentication methods in PHP without SQL
  • Investigate advanced .htaccess configurations for secure access
USEFUL FOR

This discussion is beneficial for web developers, particularly those working with PHP and seeking to implement secure member areas without SQL databases.

Hootenanny
Staff Emeritus
Science Advisor
Gold Member
Messages
9,621
Reaction score
9
I'm attempting to create a members only area on a website. Now, I've got no formal training in web design, but I have dabbled in PHP before. Unfortunately, all the scripts I can find are built on SQL databases and my hosting package doesn't support SQL; so I'm looking for a script that is fairly easy to implement that will allow my to restrict access to registered members while using a flat database with encrypted passwords. I've considered using the .htacess file to do this but it is rather restrictive, i.e. members cannot change their passwords etc.

So if anyone has any suggestions I would be very grateful to here them. Many thanks in advance.
 
Technology news on Phys.org

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
7K
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
15K
  • · Replies 13 ·
Replies
13
Views
4K