Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bypass basic authentication for included webpage

 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I have to include a webpage into my existing web application, this webpage required basic authentication, so when i include this webpage into my jsp page and run i get a basic authentication pop up window, is there a way i can pass user id, password in header or some thing so i dont get this authentication window, any suggestions
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34422
347
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would depend on the webpage. Can you use cookies to remember the user is already logged in? Is it a standard form?
 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am accessing this website where i do not know how they keep track of login, if they user cookies or some thing else, i dont even know the application server, if it is java or ASP, this is a IP based web camera which has in built server
 
suchit pandya
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can this be solved by using session?

Store userid or something while user Do login and remove it when user Log Out. by doing this you can track user login at any instance.
 
ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can do that, but how can i pass it the website and make it look like a user has entered this information and login to webpage
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ashish kulkarni wrote:I am accessing this website where i do not know how they keep track of login, if they user cookies or some thing else...

Then this is the first thing you should find out. You won't be able to log in from your application if you don't know how log-in should be done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic