[Tutor] Using urllib to retrieve info
alan.gauld at freenet.co.uk
Tue Aug 9 10:06:37 CEST 2005
> Sorry of course that is the problem. These pages are
> password protected !!!!
> Is it possible to download password protected pages (I
> know the password but I don't how to get the program
> to use it).
That will depend on how the protection is implemented.
If your server is a J2EE box with full blown Kerberos
security it may be almost impossible. If it's a more
conventional server like apache which is protecting
a file or folder then you may only have to submit
the username and password - ie login! - or build
that into a cookie.
If the protection is done by the application itself then
it could be anywhere in between those two extremes.
More information about the Tutor