credentials

How to share the credentials between Webform and Winform?

Hi! I want to make a login form at the Clickonce deployment webpage, and only allow the authenticated users to download the application. and I want the downloaded application to use the same credentials entered at the webpage, without prompting the users to enter the credentials again. Details: I have an application(Windows Client) whi...

How to get cached IE credentials from within activex app?

Here is my setup: 1) 3.5 .net web app(windows authentication with AD) which uses activex to run VB.net application on the client side 2) That VB.net application on the client makes a webservice call Here is what it currently uses for authentication System.Net.CredentialCache.DefaultCredentials This will get credentials of the user ...

Unable to migrate mail to 'google apps mail ' with Other domain user credentials.

Hi, I am trying to Migrate mail on 'Google Apps Mail'. When i give Admin credentials it get migrated successfully. But when i use Domain user credential it shows error " Execution of request failed: ". I want to migrate mails to user not to Admin User.Then why there is need of Admin credentials ? I am using Google API Ver 2. Thanx ...

What is the difference between login and credential in SQL server 2008?

I am a bit confused SQL server windows login and credential. On books online, it says that credential can access resources beyond sql server, but as far as i see windows login might be able to do that that since it is mapped to a windows user. Am i missing something else? Thanks, in advance. ...

Opening Excel file in a SharePoint document library from VSTO with specified credentials

I'm trying to open a workbook from within Excel. The Excel file is located on a SharePoint server, within a Document Library. I use the following code to open the workbook. newWorkbook = globalsThisAddInApplication.Workbooks.Open( workbookUrl, Type.Missing, false, Type.Missing, Ty...

Process.GetProcessById how to pass credentials

Hello, I need to find out is Process is running on remote machine or not, I know process id and remote pc ip. How to do that? I have tried code below but do not find way to pass credentials to login to remote machine. Using code below I get access denied as expected. Process engineProcess = Process.GetProcessById(PID, IP); Regards, T...

ASP.NET access files on another computer shared folder

Hello, I have ASP.NET project which do some file access and manipulation, the methods which I use for file access are below. Now I need to access files on another server shared folder, how to do that? I easily can change file path to shared folder path but I get "can't access" error because shares are password protected. As I understan...

Are cookies enough for storing login data?

I am reading the Head First PHP/Mysql book and they say to store both the user's username, email into cookies and sessions.cookies? Should I store both in sessions and cookies or just one of them? I am not storing any sensitive data in cookies such as password, etc. ...

SQL Server 2008 Express w/Adv Services Command Line Install

I'm attempting to include an install of SQL Server 2008 Express w/Adv. Services with an installation package, but am having a heck of a time getting the installation to complete. Typically, this installation will take place on brand-new servers that get shipped to new customers, but this won't always be the case: Sometimes, the install...

Amazon S3 security credentials per bucket

Hi all, I was wondering if it was possible to generate security credentials per individual Amazon S3 bucket. I am working with a developer and would like to grant him access only to the bucket we are working with. It's not a trust issue, it's more a concern that he'll delete the wrong bucket or its contents. For example: If we were wor...

User.Identity.Name returning NT AUTHORITY\NETWORK SERVICE i want Domain\USER

in my asp.net MVC project i have an database connection with connectionstring: Data Source=.;Initial Catalog=dbname;Integrated Security=True All users can execute Stored Procedures on that connection and i want to log those users. so after each execution I store "User.Identity.Name" to another database. This work great on my developme...

domainless kerberos authentication in .NET

I have a client application written in .NET which needs to use a credential cache of the current user to authenticate with a KDC/Directory outside of the domain before continuing execution. In Java there is a library called JAAS that handles this, I am trying to find a good .NET solution for this problem but everything seems to use the ...

WCF Endpoint routing

Hi, Guys, how to route inbound message between different endpoints. I need to expose the single endpoint that could accept different credentials. I guess, solve this by intercept the incoming message and based on message header then do forward message to appropriate endpoint. Thanks. ...

Saving user credentials securely in a Cocoa application

Need to store some valuable data securely on Mac and access it with my application. How to? ...

SVN Subversion use explicit cached credentials

I am trying to run a SVN command in a script, but the script is launched as a system service that has cached svn username/password credentials. I could always just put the username/password arguments in the command: svn info --username bob --password pass but I'd rather not have my username/password just sitting in a text file. I've...

Intranet Active Directory Auth with VB.NET

Hi, I'm developing an intranet web app and I'm learning how to hook VB into the Active Directory. We're going to be doing some location specific permissions, and my boss wants (if possible) me to hook into the Active Directory to get the users location. I think that all I need to do is get the user name, but I'm not sure what is the be...

Stored User Names and Passwords

Hi, I'm writing an application which needs to store login data for multiple (XMPP) accounts on Windows. Currently the application stores them in Windows' "Stored User Names and Passwords" using CredRead and CredWrite. And here is the problem: The login name for an XMPP account cannot be changed (it's the account's JID), but Windows onl...

Test Credentials to access a web page

Is there a nice and tested piece of code out there that I can use for this purpose: get the user/pass and the address of a web service (asmx page) and check if the user/pass are valid or not. I think I should use HTTPRequest,etc to do that but I do not have a good knowledge on that topic , causing my current method to not working prope...

Test to see if User/Pass entered for a WebService are correct or not

Possible Duplicate: Test Credentials to access a web page Hi, I need to Test to see if User/Pass entered to access a WebService are correct or not and show the proper message to the user if he has entered invalid user/pass. Is there a nice and tested piece of code out there that I can use? Thanks for help. ...

the authType parameter in CredentialCache.Add Method

what is the authType in CredentialCache.Add Method ? http://msdn.microsoft.com/en-us/library/czdw7s9e.aspx I do not understand what should I pass to it based on the uRi that I am passing to this Add method. and my uRi is actually an asmx page address ...