Results 1 to 7 of 7

tricky question -> Access to only registered users ?

This is a discussion on tricky question -> Access to only registered users ? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I would like to set the oscommerce shopping cart in such a way that only registered users can access it. ...

      
  1. #1
    New Member
    Join Date
    Sep 2004
    Posts
    21
    Rep Power
    0


    Default tricky question -> Access to only registered users ?

    I would like to set the oscommerce shopping cart in such a way that only registered users can access it. Has anyone done this ? Basically I do not want an unregistered user going through the items and prices.

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    worcester ma
    Posts
    162
    Rep Power
    0


    Default

    what you could try is protect the catalog folder with an htaccess file and give out the password when they register. This is one way to do it.

  3. #3
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default

    if u want to make it really cool and efficient, theres something called "mod_auth_mysql" for apache 1x and 2x, it will bascially allow the u 2 use .htaccess with the passwords in the oscommerce db rather having two different passwords.....

  4. #4
    New Member
    Join Date
    Sep 2004
    Posts
    21
    Rep Power
    0


    Default

    Thank you Arpit & Fridgemags,

    Where can i get more info on how to use 'mod_auth_mysql' and .htaccess ? It will be great if the user would not have to login in twice. has anyone created a protected ocommerce website ? Let me know if u know of any easy tutorial, code which i can use to set this up. So that only a registered user sees the site contents.

    Thanks for your help

  5. #5
    Active Member
    Join Date
    May 2004
    Location
    worcester ma
    Posts
    162
    Rep Power
    0


    Default

    you should be able to get more info on .htaccess folders from your webhost.

    contact them and ask for there hosting manual.

  6. #6
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default

    if ur server is compiled with mod_auth_mysql , it will be listed under loaded modules when u do phpinfo()

    if not, i m sure ur hosting company can do it for u,

  7. #7
    Lurker
    Join Date
    Sep 2004
    Posts
    1
    Rep Power
    0


    Default

    Quote Originally Posted by Arpit
    if u want to make it really cool and efficient, theres something called "mod_auth_mysql" for apache 1x and 2x, it will bascially allow the u 2 use .htaccess with the passwords in the oscommerce db rather having two different passwords.....
    hi Arpit
    you know setup the mod_auth_mysql 4 oscommerce_db?
    I do not succeed to find any guide user frendly for it.
    if u have good news..plz post here.
    thank you
    Frenzis

Similar Threads

  1. Items viewable to registered memebers only?
    By shirster in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 04-19-2006, 12:13 PM
  2. Hiding the price untill registered
    By shehper in forum osCMax v1.7 General Mods Discussion
    Replies: 1
    Last Post: 02-16-2005, 08:24 AM
  3. can access admin panel but cannot access catalog
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 10-14-2003, 06:28 PM
  4. How to accreditate users?
    By waitsee in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-30-2003, 03:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •