![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: May 2002
Posts: 264
|
![]() Hey,
I need some help with this thing.... There is the Members Area for my site and another (bonus) Members area of another site (which I want to link together), but they are on two different servers in two different locations. I have only ONE main username/password for the members area on the other server. Is there any way for my members to access the other members area using a simple link but without seeing the main username/password ?? (username:[email protected] in no good because first of all you can only access the members area the SECONED time you click the link ![]() Is there any JavaScript, PHP, CGI that can do something like that ?? I've been trying to get this to work for weeks now, I really need some help with this one. Thanx in advance ![]()
__________________
.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2002
Posts: 264
|
Anyone
![]()
__________________
.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Join Date: Apr 2002
Posts: 864
|
cookies
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2002
Posts: 139
|
Good question, I would like to know too!!!
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: May 2002
Posts: 264
|
Quote:
How do you do it with cookies?
__________________
.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Build a backend php/mysql solution just have both sites access the same database. Not that hard to do.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
LOL cookies is the one thing that specifically will NOT work, they are domain based.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: May 2002
Posts: 264
|
Quote:
I have no control over the other serve though ...
__________________
.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Posts: 7,952
|
Just allow people to access it without a password...
Tgp's do it, so why can't you? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: May 2002
Posts: 264
|
Quote:
Its password protected since it is also used as a members area for another site
__________________
.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: May 2002
Posts: 264
|
The other members area is not mine, I'm just need to share it with the other webmaster.
__________________
.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Quote:
Another Idea I just came up with, didnt do it before but 90% sure its possible have php send that login/password via headers. Similar like post instead of get the users would not see it and once they closed their browsers they would not be able to log back in, actually this idea is pretty interesting, will go read up on it now ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Join Date: May 2002
Posts: 264
|
Quote:
Anyone knows how to do this?? (Don't know PHP ![]()
__________________
.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Ill im you on icq
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
Quote:
If you want authenticate/authorize across multiple domains, it needs to be done with a variable you have control over server side, such as cookies, you can do cross site authentication/authorize , although it is a real pain to set up and you need to have control of both servers and there are some compatibility issues. Basically, you change your authentication/authorization from looking at the username and password to looking at a cookie (which only gets set on two conditions, if the user enters a valid username/password on a login form, the user clicks on a link leading to the protected area that contains a time-sensitive "ticket" to be let in). For example, we use a ticket that consists of the members username, a timestamp, and an md5(username, timestamp, time-based-secret). Of course we have to be very careful that the system clocks on our servers don't fall out of sync. I don't know of any publically availiable tools to do this. We had to heavily modifiy Apache::AuthCookie to allow one login seamless access to multiple domains. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Jan 2002
Location: In the walls of your house.
Posts: 3,985
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Join Date: May 2002
Posts: 264
|
Thanx NetRodent
![]()
__________________
.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Confirmed User
Industry Role:
Join Date: Feb 2002
Posts: 2,674
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: May 2002
Posts: 264
|
How about something more simple? Encryption, just make a link like http://username:[email protected] and just encrypt the whole html page where that link is located so that no one could see the source code.
Or something like that ..... ![]()
__________________
.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Spoke with a bunch of people and experimented myself, doesnt look possible you are not able to send auth variables into the browser.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Quote:
Thats what i ment under standard cookies it isnt possible to auth under multiple domain names so it wouldnt work. I tried seeing if there is anyway you can set auth in browser but thats impossible. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: May 2002
Posts: 264
|
Thanx anyways ...
![]()
__________________
.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Join Date: May 2002
Location: CT
Posts: 5,246
|
Hey I tried, also asked some other pros none of them new anyway to do it with headers goodluck though. There may be some otherways, however you say that you have no access to the other webserver whatsoever, right?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: May 2002
Posts: 264
|
Quote:
Ya man, I'm just sharing the members area on it, cant change anything ![]()
__________________
.. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |