ajt has asked for the wisdom of the Perl Monks concerning the following question:
First task, is to extract from SAP a list of customer IDs and passwords. I can get SAP to split them out as a text file, or suck them out with Perl. Either way this happens inside our intranet, and not on the box doing the actual serving.
Second task, now I have the base list of customers, I need to allow them to add usernames and passwords. I have MySQL on a hosted BSD box running Apache, Perl (? mod_Perl) and mod_PHP. We need to allow each site (one customer ID) to give it's staff as few or as many usename and password pairs as they want. We don't want the customers to use their customer ID and password to view the site, as that get's messy.
Finally I need to purge or suspend any usernames/password pairs that no longer have a matching valid customer ID in SAP. Our customers are large oganisations, and we don't have much turn over, so we can do this in batch mode once or twice per week.
I see the following bits:
Now I've done Apache and Perl/CGI-BIN for a few years now, but never on a scale where a DBMS was used. Our in-house SAP team is good with SQL, but not Perl. Where do I start?
What I see as the simplist approach is to password protect the "password changer" with the customer ID/password, that way only the customer's admin can use it.
Password restrict the rest of the site, using the passwords/usernames controled by the site passwords/usernames. The customer ID will not work here to prevent them from using the same username and password for everything.
Keep the DB on the remote host in sync with the SAP master on the intranet.
As ever, humble thanks in advance.
Edit Masem & others 2001-10-03, fixed html that was breaking on SoPW page (near the ref to merlyn's column)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: First Perl DB integration project
by CubicSpline (Friar) on Oct 03, 2001 at 16:37 UTC | |
|
Re: First Perl DB integration project
by perrin (Chancellor) on Oct 03, 2001 at 19:45 UTC | |
|
Re: First Perl DB integration project
by sheridan3003 (Beadle) on Oct 03, 2001 at 19:00 UTC |