• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

Automate the login process to a website

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,


I have a requirement like this
I need to login to a website and generate a report based on some condition and save it as a file.How can i automate this process of logging and generation of the file.what are the possible ways of doing this.
 
Ranch Hand
Posts: 62
Android PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

do you really want to do this ? In my opinion this is a high security risk, then again it depends on the Application. Where do you want to save the login data ? On the client side ? In a cookie ?

 
Saloon Keeper
Posts: 26291
186
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On a Linux machine, you can do all that using curl or the "wget" command, and I just wrapped up a project that did a whole lot of that, in fact. On Windows, you'll have to shop around, since Windows out-of-the-box toolset is much smaller. One option is to install cygwin, which will effectively add a Linux environment to your Windows machine.

Another option, that eliminates the security risks that come with keeping a userid/password in a plain text file on the client machine is to set up the server to accept security certificates, generate a cert for the client, and deploy it on the client machine. You'd still use something like wget to make the web request, but the cert wouldn't be in plain text and it would only work on the authorized client machine.
 
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic