470,594 Members | 1,101 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,594 developers. It's quick & easy.

Serving an external web site which requires authentication

1
Hi,

I need your suggestions about the topic.
Actually, I'm not sure where to start but basically, I want to make something like;

(I have an account on a site which requires log-in)
- I'll be logged-in to that site with my account in my server.
- And when a user connects to my site, I'll forward him/her to that
site, using my account even if he/she doesn't have an account
on that site...

probably, I need to develop a proxy to do this, but I'm not sure...
(I code in python + django)

I really appriciate your ideas.
Mar 24 '08 #1
1 1073
Yes, you would probably need to create a sort of proxy. However, you would have to set the cookies. You might be able to do this with urllib or urllib2 instead of manually using sockets to implement HTTP (which is a real pain: I've done it too many times for specific purposes where I couldn't use other methods). Usually, sites use cookies to check if you are logged in.
Apr 11 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Egon Schneider | last post: by
1 post views Thread by Stanislav Simicek | last post: by
1 post views Thread by =?Utf-8?B?VCBSYXkgSHVtcGhyZXk=?= | last post: by
1 post views Thread by hasnihon.support | last post: by
5 posts views Thread by Mr. X. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.