Bleppe Posted March 24, 2004 Posted March 24, 2004 I've been developing FM db's on and off for the last ten years - the last two years a lot. So I've done my share of sophisticated scripting, relations etc. I feel like I know a lot about FM, but here's my problem: I am developing a solution for an image-agent company (cumstomers are supposed to search and buy images on his website). Searching, sorting, ordering, log-in etc. is supposed to be performed by the FM (5.0 on MacOS9) via CDML. Links to downloads of the images/files bought on the website (placed on another server with a different ip) are delivered by the DB - including a Javascriptet cookie read by PHP on the download-server. This is because the files take up >20GB in all, and I don't want to slow my FM solution down or limit the bandwith for the FM server with several 10-20 MB download sessions each hour. So far so good... The cumtomers will be provided with an account, in which they will be able to review, say, the last 10 ordered items (with links to the downloadserver) for 7 days. This requires some sort of log-in feature. I don't want to use FM's build in access priv. because I need to have both a username and a password (hopefully 100's of users). How do I do this, without leaving the usernames/passwords exposed for everybody, who knows how to "sniff" informations from a FM db? I've read some threads about creating two fields - one with username - one with the password. Perform a search based on user-input - if the record exist, set a cookie with JS and log them in. But what is keeping other FM-geeks from writing three lines of html to sniff out all the records of that db? I know, I could, anyway... I have some other ideas on how to solve this problem, but I would like to hear your input before writting half a book here. Thanx! Bleppe Version: v5.x Platform: Mac OS 9
Garry Claridge Posted March 24, 2004 Posted March 24, 2004 You can use the FM "Web Security" database. Or, you can use PHP on the "Download" Server" to manage the security. Good Luck. Garry
murtje Posted March 26, 2004 Posted March 26, 2004 Follow this thread: http://forum.filemakerworld.com/viewtopic.php?t=4288 Koen
Bleppe Posted April 2, 2004 Author Posted April 2, 2004 Thank you Koen! That thread actually describes the idea, I'm working on right now..! Happy to see, that others had the same idea! I must be going in the right direction.... Bleppe
Recommended Posts
This topic is 7610 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now