credentials

Executable started by a windows service using the local system account cannot access network shares

你说的曾经没有我的故事 提交于 2019-11-29 00:09:38
问题 I have an executable that is started by a windows service, this program will be run on a customers machine and will need to connect to a remote share to perform a particular task. This share is specified by the customer via a UI, so we do not know this in advance meaning it can't be "hard-coded", or the share mapped in advance. Previously we required the customer to log on to their machine and run the executable on log-on , but we have always wanted to allow our program to run within a

How to specify Windows credentials in WCF client configuration file

◇◆丶佛笑我妖孽 提交于 2019-11-28 21:12:35
I have a WCF service using BasicHttpBinding with Windows authentication. Most clients are domain accounts and connect to the service using their default credentials. Now I want to connect to the service from an ASP.NET client that is running under a local account. I want to connect to the WCF service using windows credentials (domain\user and password) that are available to the ASP.NET application. I know I can do this in code using ClientBase<T>.ClientCredentials. Is there a way to specify the credentials (domain\user and password) in the client's web.config file so I don't have to change the

Documentation for creating a Custom Credential Provider in Windows

一个人想着一个人 提交于 2019-11-28 20:38:44
Where is the documentation on creating a custom Windows Credential Provider located? Everything I've found so far points to the same article on how to make a custom credential provider ( MSDN Magazine: "Create Custom Login Experiences With Credential Providers For Windows Vista" ), but neither that article nor anything else I can find provides documentation on how things actually work. At best there are some code samples, but those don't explain the full mechanics of credential providers or usefully show how to roll your own. In an article on Windows Vista Smart Card Infrastructure, there is a

DB Schema of a Role Based Access Control

送分小仙女□ 提交于 2019-11-28 20:22:49
问题 I'm currently developing a member administration for a local association here and I'm developing the database schema at the moment. I'd like to share it with you to improve it and give other an example of a Role Based Access Model (RBAC). I'd appreciate any constructive criticism especially about the relationships I used between the tables. Link to highres: http://i.stack.imgur.com/WG3Vz.png Heres the schema: How it works: I'm mapping existing clients (actually members of the association)

Why is ARG in a DOCKERFILE not recommended for passing secrets?

烂漫一生 提交于 2019-11-28 20:20:37
In http://docs.docker.com/engine/reference/builder/#arg , It recommendeds secrets are not passed through ARGS. Note: It is not recommended to use build-time variables for passing secrets like github keys, user credentials etc. At what point are secrets passed through build-time variables in danger? Update August 2018: You now have docker build --secret id=mysecret,src=/secret/file . See " safe way to use build-time argument in Docker ". Update January 2017: Docker (swarm) 1.13 has docker secret . However, as commented by Steve Hoffman ( bacoboy ) : [...]The secret command only helps swarm

Set credentials on an Android Webview using secured HTTPS connection

旧时模样 提交于 2019-11-28 18:01:25
I would like to create an Android Webview that connects to a website via a secured HTTPS connection with the use of credentials. First difficulty was to accept the certificate (private), it was solved with this very useful post. Second difficulty is to use credentials, I found this post. (first answer from dparnas) which seems to deal pretty well with it, but it talks about HTTP connection and not HTTPS . I ve tried it, but it doesnt work, I just reach the sign-in form page without any error message, just the normal blank form. Here is my code: import android.app.Activity; import android.net

How to store and retrieve credentials on Windows using C#

冷暖自知 提交于 2019-11-28 17:19:36
I build a C# program, to be run on Windows 10. I want to send emails from this program (calculation results) by just pressing a button. I put the from: e-mail address and the subject: , etc. in C# properties, but I do not want to put a clear text password anywhere in the program, AND I don't want the user to have to type in the password for the server each time a mail is sent. Can that be done? If so, how (generally)? I was thinking of putting all that e-mail information, including an encrypted password for the server in a data file to be read during startup of the program. Or maybe Windows 10

SVN change username

眉间皱痕 提交于 2019-11-28 15:29:26
问题 I found a lot of examples on how to change the username for specific revisions and so on. But what I need is this: I did a checkout with the authentication credentials of a workmate and need to change it to my credentials for future commits. I cannot just checkout with my credentials due to the many changes that have been done already... Anyone familiar with this? 回答1: You can change the user with Subversion 1.6 and earlier: svn switch --relocate protocol://currentUser@server/path protocol:/

GoogleAccountCredential name is null despite calling setSelectedAccountName (Android 6.0)

穿精又带淫゛_ 提交于 2019-11-28 12:09:17
I've created an endpoint using a secured backend and have been using it since March on an app I'm building (source docs here ). I recently installed the latest version to my Android 6.0 device and an odd error popped up (it works perfectly on 4.2.2 & 5.1). The specific error is: IllegalArgumentException: the name must not be empty: null Which I traced to an error with the credential, you can see the code below. On Android 6.0 account may be "user@gmail.com" but the string 'test' turns out to be null! Is there something specific about 6.0 that changed GoogleAccountCredential? public static

GitHub: Separate credentials for two accounts on Windows

陌路散爱 提交于 2019-11-28 11:22:41
I recently created a second GitHub account two separate my work and my private projects (before, I only had the work account). I use https in combination with the Windows credential storage. To automatically select the correct account, I store my private account info in ~/.gitconfig and the work account info in ~/work/.gitconfig as suggested here . Unfortunately, when I try to push changes in my private repositories, I get the following error: $ git push remote: Permission to privateuser/privaterepo.git denied to workuser. fatal: unable to access 'https://privateuser@github.com/privateuser