user-management

use the FileSystemWatcher class to document the user who is making changes

时光总嘲笑我的痴心妄想 提交于 2020-02-02 11:07:31
问题 I have a console app that checks for changes occurring on the file system. I'm trying to find out if it's possible to get the username of the individual who is doing the changes? 回答1: You'd be better off enabling auditing on the folder. Right-click the folder, go to Properties > Security tab > Advanced > Auditing tab. There are options for recording an audit log of events that happen in that folder. 回答2: No, it's not possible, the NTFS or FAT file system which is what Windows uses doesn't

Users management in node js with express, mongodb as server database [closed]

自古美人都是妖i 提交于 2020-01-14 08:59:11
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . Looking for the way to add user management to my site. Site: Working with Node.js & Express, when creating the initial project with Express, the app.js file contains these lines: app.use('/', routes); app.use('/users', users); In addition, a file users.js is created under routes

User management in Silverlight, create custom UI or use ASP.NET website administration tool?

倖福魔咒の 提交于 2019-12-31 03:23:07
问题 I'm creating a silverlight for line of business application, and I'm using Forms Authentication. For user management, I'm deciding between using the built-in "ASP.NET Web Site Administration Tool", or create my own custom thing in Silverlight (making this part of the application experience). What are the pros and cons for each of the two approaches? and which do you think would be best? 回答1: I just went through all of this, so I'll give the pros and cons I came up with: ASP.NET Web Site

How can I set a users password in linux from a python script?

主宰稳场 提交于 2019-12-28 12:10:10
问题 I'm trying to automate the setup of SFTP access. This script is running as a user with sudo permissions and no password. I can create a user like so: >>> import subprocess >>> process = subprocess.Popen(['sudo', 'useradd', 'test'], shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) >>> process.communicate() ('', '') Next I need to set the user's password, but I can't figure out how. Here's what I've tried. >>> process = subprocess.Popen(['sudo', 'chpasswd'], shell=False, stdout

tiny custom role management for asp.net mvc 3

a 夏天 提交于 2019-12-24 23:23:16
问题 I chose to do a school project with asp.net mvc3 and there is a need of a user/role management. I think the membership that ships with asp.net is way too big for a school projec. SO my thought is this. if i could find an equivalent of Zend predispatch method for asp or even a better one i could store the urls accessible as privilege for a role and load it in session and check if a particular user have access to it and redirect if not. my question are this: Is there any equivalent of

Using asp.net, how do I redirect a user and change the POST data at the same time?

会有一股神秘感。 提交于 2019-12-24 12:34:58
问题 I have a single sign-on solution, meaning that the user will login to one site and be redirected to another. When I redirect the user I want to pass along a key that can be used to verify the user's authentication status. Most of the examples of single sign-on I read show the login site passing the encrypted key has a query string value. I don't think this is a very good solution because it's not very REST-ful or whatever you want to call it. Instead I'd like to pass the encrypted key in the

Rely on Facebook user id as a permanent user identifier

匆匆过客 提交于 2019-12-24 02:18:38
问题 We are building a web application and right now we are in the stage of deciding how to keep track of our users. Our default option is to maintain our own user registration system which is a lot of headache (user name uniqueness, registration process, etc...). As an alternative we can use people's Facebook identity, meaning they will log in to our system using their Facebook's email and password. Then our back-end will fetch the user's Facebook id (Graph id), and store it in the DB. Any data

PHP - Stop Concurrent User Logins

谁说胖子不能爱 提交于 2019-12-23 07:47:55
问题 I need a method of stopping concurrent logins using PHP/MySQL. The current setup Currently there are 2 people sharing the same login on a system i have built internally where i work. Due to the nature of the system i dont want them both logging in. What I have tried Around 10 articles on stackoverflow and googled for as long as i can. I also attempted adding a "loggedin" field in the user table which upon logging in was set to 1 and upon logging out was set to 0. Then if the same user

AWS Cognito - create groups from ADFS as Cognito Groups

岁酱吖の 提交于 2019-12-22 06:47:28
问题 An app is communicating via the Open ID Connect protocol with AWS Cognito , which is connected to ADFS , communicating via SAML. Cognito is essentially "proxying" the ADFS server. ADFS holds a group mapping that the app requires, and I would like to import these groups into Cognito as actual Cognito Group - which will then be read by the app from the cognito:groups from the ID-token Cognito provides. In the AWS Cognito User Pool setup, I don't see a way to map ADFS groups to Cognito Groups -

A book or tutorial about secure user management and privileges [closed]

流过昼夜 提交于 2019-12-21 22:30:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I'm looking for a book or tutorial about secure user management and privileges. I have O'Reilly's Essential PHP Security . When I'm starting a project, I'm never sure that it's secure, or if I'm doing security the right way. Because this, I'm looking for a case study. 回答1: A very good paper on this topic has to