Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8974647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:43:22+00:00 2026-06-15T18:43:22+00:00

Scenario: A web application (RoR 3.2) needs to talk with a remote web service

  • 0

Scenario:

  • A web application (RoR 3.2) needs to talk with a remote web service (SOAP, using Savon gem).
  • The web service requires username and password.
  • Communication is SOAP, traffic is through a VPN (no SSL for SOAP).
  • I need to store the password that the remote Web Service Admin gives me.
  • The web service admin requires that I store the password in a secure way.
  • When my web server calls the web service I need to use the original password in clear.
  • Bcrypt is the best way to store passwords, but it is “one way”.
  • I cannot send the encrypted password, I need a way to decrypt it in order to be able to send it to the web service.

This seems to be a “chicken-and-egg” problem.

Is there a way to securely store a password and be able to decrypt it for use in an automated service?

Any hint?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:43:23+00:00Added an answer on June 15, 2026 at 6:43 pm

    If the encrypted information needs to be sent as plain text how about using a strong reversible cipher, this is probably what the Web Service Admin meant.

    You can add other info as a salt (using anything that’s well-known to you and can be applied algorythmically, say, a name) before encrypting using (for example) AES encryption.
    Then you can store the encrypted password in a location of you choice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the scenario: 1. Login to a web application with username and password
This is my scenario: Web application with a self-hosted bus (publisher) Windows service with
I am developing a small web application using Ruby, Sinatra & HAML. The scenario
Scenario I have an web application which needs some calculations and processing on data.
The scenario: I'm using Telerik Report Viewer in my web application to show large
This is the scenario: -Hosted web application. -Application trust level is full trust, because
I have the following scenario. I have created an ASP.NET web application (framework 3.5)
Let me share the following scenario: I have a ASP.NET intranet Web-based application that
Scenario Multiple application servers host web services written in Java, running in SpringSource dm
Scenario: Third party web service returns datetime in two separate fields i.e. date and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.