By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,923 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,923 IT Pros & Developers. It's quick & easy.

Serving an external web site which requires authentication

P: 1

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
Share this Question
Share on Google+
1 Reply

P: 87
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.