Newbies Devin R Posted May 4, 2007 Newbies Posted May 4, 2007 I'm working on trying to get a small amount of data out of Filemaker through XML using a web browser. Following the little bit of current information for this, I managed to quickly come up with the following URL for what I needed: http://myserver:80/fmi/xml/fmresultset.xml?-db=sample&-lay=sampledata&ID=142&-find With a [Guest] account enabled in FMP, this works just fine. However, as the databse is also shared on the network, and since this data shouldn't be accessed by everyone, I don't want to leave [Guest] turned on. Therefor, to handle passwords on files, I found a document that told me to structure the URL like this: http://account:password@myserver:80/fmi/xml/fmresultset.xml?-db=sample&-lay=sampledata&ID=142&-find Unfortunately, this doesn't seem to be working at all, as soon as I disable the [Guest] access. I made sure that 'account' has full access for the time being and all the extended privileges, but still nothing. Is this format not correct any longer? Is there another way of using some form of login/authentication for this? Devin
Martin Brändle Posted May 5, 2007 Posted May 5, 2007 No, this is standard URL format according to RFC 1738. However, Internet Explorer does not allow to specify name/password combinations in URLs anymore due to security reasons You may, however, use the same URL without name/password combination, then the browser will ask for the credentials. But if you don't use https, they will be sent in clear text.
Newbies Devin R Posted May 7, 2007 Author Newbies Posted May 7, 2007 Thanks for the response. I've gotten that dialog box to come up, but unfortunately it presents two problems. The first is that I'm using this url as part of a widget I'm working on, so I can't have it display a box like that, I need it to send the URL and return the result. The second problem with that dialog box is that it doesn't seem to work. Using my above example in Safari or Firefox, if I had a user setup as Account and Password, I would enter that and the dialog box would immediately pop back up and state that I had entered an incorrect name/password. Any ideas as to why that would be the case?
Martin Brändle Posted May 7, 2007 Posted May 7, 2007 Try name/PW combination only with alphanumeric characters A-Za-z0-9
Recommended Posts
This topic is 6408 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