If I want to store the username and password to be used inside an Android application, what is the best way to do it? Is it through the preferences screen (but what if the user misses this?), or pop up a dialog box and ask the user for the credentials? If so, I do have to maintain state for the application. How would I do this?
...
Hello,
I have two WCF RESTful services - the "general" service is public and has no security; the "admin" service I intend to use basic authentication over SSL. This is my server side web.config:
<system.serviceModel>
<bindings>
<webHttpBinding>
<binding name="general" maxReceivedMessageSize="2147483647">
...
Hello experts,
i am creating one java blackberry application.I have webservice which is running on some server. It has some credentials like userid,password.I have to upload some image on server.but how to pass credentials to webservice.
Please Point out on that.
Regards
Pankaj Pareek.
...
I'm using the latest version of Eclipse Galileo and I have to access the web from behind a proxy. I see where I can set the internet settings to manual and specify a proxy but there's no way to specify my authentication credentials that I can see and it doesn't prompt me for them either. So I'm not able to hit any plugin update sites etc...
I have two computers with Windows Server 2003. One computer has some shared folders on the network, and the other has a Windows Service (written in C#, running under the Network Service account) that needs to access those shared folders.
The following code works fine as a logged-in user, but throws an exception when executed under the N...
I was wondering if its possible to redirect a user to a web page that required a username and password such as the one you would require for an IIS authenticated web site and automatically send through the UN and PW, eg -
Response.Username = "";
Response.Password = "";
Response.Redirect("url");
...
Hello All,
I am developing blackberry application, which retrieves data from webservice. This webservice is hosted on windows authenticated server under private network.
Does anybody knows how can I connect to integrated windows authenticated webservice without entering user id and password ? Or is there any way where I can send windo...
Hail!
I want to fetch image from NOT PUBLIC Google Site's page.
I'm using WebClient for this purposes.
var uri =
new Uri("http://sites.google.com/a/MYDOMAIN.COM/SITENAME/" +
"_/rsrc/1234567890/MYIMAGE.jpg");
string fileName = "d:\\!temp\\MYIMAGE.jpg";
if (File.Exists(fileName))
File.Delete(fileName);
using (var webCl...
I'm thinking about good ways to store third party credentials, which basically means there needs to be a secret somewhere, either in code or data. I'm deploying on google app engine.
If the 'secret' was something like
pw_passphrase = sha2(username + 'global-password')
pw_plaintext = aes_decrypt(pw_passphrase, pw_ciphertext)
can I dep...
My scenario is this - I have two ASP.net websites. Both sites run on the same machine and I have implemented single sign on relatively simply using the default asp.net membership provider (Forms based authentication).
I have a new WCF service on one site, which will be called from the other site. A user will be logged into the site, b...
Imagine you're writing a web app that will have 1 million users (they all grow that big, right!)
How would you handle user accounts? I can imagine a few scenarios:
Roll your own (database tables, salted/hashed passwords stored in a user profile table)
If written with ASP.NET, use the login/role provider (which falls back to the datab...
I using VB.NET 2.0.
I am trying to call a web service. This web service requires authentication. So, I am able to execute the web service when using Credentials only. But, when I add a local proxy (I tried with ezProxy Manager) I get a 401 error.
I need to get this working with a proxy as well. Any ideas why this may fail?
...
My c# application opens the Internet explorer for different web URL/ domains.
And I have all those credential information (username, password and domain name) stored in the database for each web application.
Now how I can authenticate automatically without entering credential in “Network Credential” dialog box using code or bypass that d...
I'm using CredUIConfirmCredentials in combination with
CredUIPromptForCredentials.
I set the EXPECT_CONFIRMATION, and when the credentials are first provided by
the user the call to CredUIConfirmCredentials returns NO_ERROR as expected.
However, on all subsequent calls to CredUIConfirmCredentials, with the same
credentials, ERROR_I...
Hi,
I have a SharePoint 2007 portal, that contains several document libraries. Whenever I open a document from a document library, Word 2007 requests me for my credentials, although I'm already logged in the portal.
Does anybody know how to set up Word 2007 to accept the existing credentials from SharePoint 2007?
Regards,
Voicu.
...
I'm trying to set up a custom backend that queries another database, for which I have created a model in the system. It uses its own rules (email instead of username, and a differently salted/hashed password) so I can't use built in authentication. I've set up a custom authentication backend like so:
class BlahBlahBackend:
def chec...
IIS is utilizing the current logged-user's credentials to access an ASP.NET application. Is it possible to create a login page on the application and pass another users credentials, so that particular web app is run under a different user?
...
At first: This is (hopefully) no duplicate of this or this.
The current status: I committed a file with credentials for an internal database to my Git repository. This was fine, as I used it only alone. Then my group started to clone, push and pull around in this project. We now have several Git repositories (one central and some develo...
I'm attempting to add a web reference to my ASP.Net 3.0 project. This is a reference to the SQL Server Reporting Services web service. I have verified the service is up and running, but when I try to add the web reference in my project, I am prompted for my credentials, which I enter, and then prompted again and again and again. I have t...
Is it possible to turn off "Always Prompt For Logon Credentials" in Outlook 2007 using vbscript?
...