Gossamer Forum
Home : Products : DBMan : Customization :

Accessing remote databases ?

Quote Reply
Accessing remote databases ?
Hello there,

My site is not ready yet because I've still a few things to resolve, as this one:

Actually a login is required to access the local database, including for view functions only. I would like to authorize a locally logged user to access only for browsing a remote database on another site through a link page, but without a formal login on the remote site, if possible.

In fact each site has is local *.pass file and I don't want to duplicate users in the *.pass files.

Using the 'default'/'default' or 'guest'/'guest' userid and password will not prevent someone to log directly in the remote database without being registered as a 'normal' user in the local *.pass file.

I suppose the only way is to pass a certain code at the end of the link for the remote URL, code based on the uid.nnnnnnnnnnnnn value created for a logged user.

What do you think about that ?

Maybe you have a better solution ! Please share it to everyone...

Thanks in advance for any help and continue with this DBManificient support forum.

Cheers,
Germain

PS: I would like people to register on the local database and put something on it before being allowed to read the contents of the remote one. Otherwise people will just pick interesting data without participating in the creation of the data. That's all, folks !
Quote Reply
Re: Accessing remote databases ? In reply to
I'd be surprised if you could do what you want to. But maybe someone else will have some ideas.


------------------
JPD





Quote Reply
Re: Accessing remote databases ? In reply to
Hi Carol,

Thank you for your reply !

The "decimal" part of the userid could be recognized by the remote server: imagine that, to be interpreted as a previously logged user, the decimal part should be a multiple of a certain number. Generating this kind of signature shouldn't be complicated on the local server, instead of using a dumb random integer.

What do you think about this idea ?

Cheers,
Germain
Quote Reply
Re: Accessing remote databases ? In reply to
Hello again,

I'm sorry to insist but did someone has any solution to solve my exposed problem ?

Thanks in advance for your awaited answers !

Bye now,
Germain
Quote Reply
Re: Accessing remote databases ? In reply to
The trouble with passing the uid.nnnnnnnnnnnnn value to the remote site is that the .nnnnnnnnnnnnn part would not be recognized by the remote site. That part of the uid is generated at the time of login and is saved as a filename on the server where the user logged in.

I really don't think this is possible.

------------------
JPD





Quote Reply
Re: Accessing remote databases ? In reply to
You could certainly give it a try. I don't know how to go about it off the top of my head, though.


------------------
JPD