credentials

Get credentials from SharpSvn in C#

I am writing some C# code to perform multiple commits to SVN in one pass, much like the tool svnmucc. So far I've been using SharpSvn to do the rest of the necessary communication with SVN, so I'm thinking I can take advantage of it to accomplish the following: How can I get the credentials (username, password) that are used by SharpSv...

.NET: Is it possible to retrieve NetworkCredentials from Current.Request?

i don´t think so.. but is it possible to retrieve the NetworkCredentials from HttpContext.Current.Request (e.g. in a WebService-method) which where used to call the web-site hosting my webservice? ...

How to use default account parameters (login/pwd) in Android phone?

Howdy, I want to use default Android credentials for specific phone to pass authentication test in Google Apps, but documentation is terrible :-(, and worst of all I'm a newbie. Anyone have a idea how to do it? There are some apache libs for it, but as I mentioned documentation is very weak. Here is reference to this class. best, Pat...

Web Services - When referencing a web service locally, it asks for credentials

I am currently creating a web service locally. I created 2 separate files: One for the web app and the other for the web service. When I try to reference this web service from my web app, it asks for my credentials. It does not accept the credentials I inserted (which I know is correct). How do I remove this from my web service? ...

Sending SSRS credentials via C# application

I am currently working on a C# application for my company that goes out to our SSRS server, runs specific reports, formats the excel reports in the application, and then spits them out to a location. The application is working as intended and there is just one little annoyance. Every time a specific report type is run the credentials f...

Open/close connection to UNC without credentials

I have a .NET client app that intermittently loses connection to a UNC share where the user is either on a domain or has a local account with the same credentials on the server. Both SO and Google have plenty of examples using LogonUser and WNetAddConnection via P-Invoke, but both require the user's password. All our app needs to do is ...

Webservice.wsdl and credentials

So I've got a bit of an issue I'm trying to work through. Perhaps some Flex guru could assist? I have a WebService instance that attempts to load a WSDL file from our JBoss Application Server. If I do something like this: webService = new WebService(); webService.destination = WebService.DEFAULT_DESTINATION_HTTP; webService.wsdl = "htt...

WCF Message Credential Implementation Details

I'm looking for some technical detail on where the actual username + password (credentials) are being stored during the message exchange using a WCF binding like the below. <bindings> <wsHttpBinding> <binding name="wsHttp"> <security mode="TransportWithMessageCredential"> <transport/> <message clie...

Accessing resources (DB, Active Directory, etc) external to application

What is the best way to manage accessing resources external to your application? Especially for ASP.NET (not sure about Java), when using impersonation, it is somewhat difficult to use the logged-in user's details to access resources such as Active Directory and SQL Server. Firstly, I have it is not good to use a user's credentials to...

Restricting an entire symfony admin generator page according to credentials

I have a website with a large number of admin generators to take care of an assortment of tables. Within the realm of authenticated users, I want to be able to deny access, not just to individual actions or fields, but an entire admin module. There doesn't appear to be a global credentials parameter for generator.yml, and putting stuff ...

Keep User logged in across multiple applications on multiple servers.

I am building a suite of applications using ASP.NET. Each application can be hosted on separate servers. All the applications share an integrated database. All applications require user authentication before use. I want to build the ability to transfer users from one application to another without having to relogin. Is there a way ...

Windows credentials

Hi I have problem. In mz asmx web service I have method which return call user windows identity. [WebMethod] public string TestAuthenticated() { return User.Identity.Name; } I test web service and client on the same pc on localhost. If I call web method TestAuthenticated from web broeser it return good user identi...

Detecting login credentials abuse.

Greetings. I am the webmaster for a small, growing industrial association. Soon, I will have to implement a restricted, members-only section for the website. The problem is that our organization membership both includes big companies as well as amateur “clubs” (it's a relatively new industry…). It is clear that those clubs will share ...

Silverlight 4 webclient authentication - anyone have this working yet?

So one of the best parts about the new Silverlight 4 beta is that they finally implemented the big missing feature of the networking stack - Network Credentials! In the below I have a working request setup, but for some reason I get a "security error" when the request comes back - is this because twitter.com rejected my api call or some...

Vista Credential providers

hi i am using the samplecredentialprovider for vista it works fine with local users login but it is not let the domain user logged in on domain can anybody help me how can i do this ...

Possible authentication problem? Loading a JSON via WebClient in Silverlight 4

Hi guys, I'm playing with Silverlight 4, and I when my page loads, I call beginGet("my/people/", new OpenReadCompletedEventHandler(continueLoadStamData)); that I have defined as private void beginGet(string endpoint, OpenReadCompletedEventHandler callback) { WebClient wc = new WebClient(); wc.Credentials = new NetworkCredential...

Where do I specify proxy credentials in my WCF client?

I have created a WCF client using channel factory. But I am not able to connect to a server in another machine. I am getting a (407) Prxy Authentication Required exception. WSHttpBinding wsBinding = new WSHttpBinding(); wsBinding.BypassProxyOnLocal = true; EndpointAddress endpoint = new EndpointAddress("http:/...

reusable "save credentials" dialog (like IE's or Vista's) in .NET or Win32

Lately I've been working in an office with a wireless network which uses an annoying authentication scheme: every few hours, you need to open up a browser and type a username/password into an authentication web page, or you lose network access. (When the time expires, your next browser request will redirect to the auth page, and if your ...

Supplying Basic Authentication credentials to a protected folder in ASP.NET

I have a Barclays payment system which posts its results back to an ASP.NET page inside a folder protected with Basic Authentication (the rest of the site uses Forms). The payment system works fine but I also have a credit system which means that if credit > total then the payment system is bypassed and I just want to call the page mysel...

Application creating user account in MySQL

I am creating a C++ application the uses a MySQL database. I would like the application to create an account for itself, if possible. I have not found a method to do so. Everytime I port my application, I forget the set up sequence. The current set up sequence requires creating an account in MySQL for the application to use. Once ...