Jump to content

This topic is 7213 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

My users need to log in to a database with a username and password automatically when they first hit the index page.

At the moment the page is set up with a meta refresh that goes to the following -

<meta http-equiv="refresh" content="1;URL=http://test:[email protected]:443/FMPro?-db=Mams.fp5&-token.9=0&-token.7=0&-format=media-library/loggingin.html&-FindAll">

i.e.

<meta http-equiv="refresh" content="1;URL=http://[uSERNAME]:[PASSWORD]@[sERVER IP AND PORT]/FMPro?-db=[DATABASE]&-token.9=0&-token.7=0&-format=[FORMAT FILE]&-FindAll">

This works really well on a Mac from explorer, safari, firefox etc. It used to work on a PC a few months back till I came to do a bit of testing today! Now the PC internet explorer displays an invalid syntax message! Does anyone have any suggestions as to what is wrong for the PC?

Thanks

Posted

IE 6 has been changed to not allow this syntax anymore because it could be used to redirect a user to a site other than what the user intended.

Dana

Posted

thanks. Is there any way around it?

I could try and change the database so there is no password need which is the effect I want (low level access to less records) as the only way to access the database is directly on the server or through my HTML pages.

Posted

The only ways I have found around this are:

Create a low level account with no real privileges and either a) Show the username and password right next to the link for the DB so public users can log in. : Enable guest access so no one needs to put in a password, but then create a layout where you can run a relogin script for privileged users to gain more access to the database.

I don't like option b because you can't mask passwords in filemaker fields, and you can't use custom or password dialogs in IWP. So option B would be better for CWP, but I like option a for purely IWP sites.

Dana

This topic is 7213 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.