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 8878465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:43:05+00:00 2026-06-14T19:43:05+00:00

I want to call a web service using javaScrip but the web service call

  • 0

I want to call a web service using javaScrip but the web service call contains user name and password, so i am thinking of storing the values of the user name and password in a hidden fields , then to construct the web service URL using javaScript by appending the values of the username and password. Incase i am going to implment https for these web service calls , then will storing the values of the username and password as hidden fields inside the html page consider secure?

  • 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-14T19:43:06+00:00Added an answer on June 14, 2026 at 7:43 pm

    Absolutely yes, hackers will be able to see the value of the hidden field. Hidden fields in HTML are easily visible, to anyone who looks at the page source.

    To show this, here is a bit of code from the google log in page.

    <form id="gaia_loginform"
          action="https://www.google.com/LoginAction2?service=mail" method="post"
          onsubmit="return(gaia_onLoginSubmit());">
    <div id="gaia_loginbox">
    <table class="form-noindent" cellspacing="3" cellpadding="5" width="100%" border="0">
      <tr>
      <td valign="top" style="text-align:center" nowrap="nowrap"
            bgcolor="ddf8cc">
      <input type="hidden" name="ltmpl"
                 value="default">
      <input type="hidden" name="ltmplcache"
                 value="2">
    

    Notice this in particular:

    Hidden means it doesn’t show up on the web page, but is still included in the source. All someone would have to do would be to navigate to the page, look at the source, and they could find any hidden entries.

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

Sidebar

Related Questions

I'm using Grails and want to use groovyws to call an web-service. But my
How can I call a web service directly without using soap? I basically want
I want to call a web service in Windows Workflow project using InvokeWebServiceActivity. I
I want to call a web service from my SQL code, but it cannot
I want to call a web service that requires an authentication cookie. I have
We want to track the time taken by a web service call between a
I have a web service that wish to call, and I want to pass
Possible Duplicate: Call web service from jQuery I want to add two numbers together,
I want to write a web service using Visual Studio. The service needs to
I have a asynchronous web service using axis2 which I call two different times

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.