How to password protect an application process [closed] - windows

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 11 years ago.
Improve this question
Can somebody tell me how to protect an application using password.
I mean suppose I start an application (say uTorrent) then I want to provide a password so that nobody can close it or change any thing without password.
Thanks
Ashwani

Use Windows Switch User and let others to use less privilege account. Once you run your programs under your account, others can't access it.
This question belongs to superuser.com

IMHO it is not possible to protect an application (as normal user) in a way that prevents closing (by an administrator).
All other stuff is handled by the windows user system. Just lock your user session...
Or please describe your real problem.

Related

Windows Server:: Replicate Built-In Administrator Account [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I created a secondary account on my Windows Server 2008 R2 installation. So now I have the build-in Administrator account and my custom one. I included my custom account in all user groups, including Administrators, but I can't seem to replicate the build-in Administrator completely. There are many folders that I do not have permission to create files in through the File Explorer, and of what I can recall, opening it as administrator won't help. I want to be able to do just about anything, just like the built-in Administrator account, on my custom one. Thanks in advance.
Scratch that, I've managed to answer my own question. Apparently the last step missing to fully replicate the built-in Administrator account was to disable UAC. Just posting this in here for anyone curious.

Recovery Mode for a program [closed]

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 7 years ago.
Improve this question
I'm making a new version (of my old Batch program), which is called Encriipt BETA 16.3, that allows you to encript your private folder. It has a register system integrated on the program and I'd like to add a Recovery Mode (so in case you forget your user/password you won't lose everything). I'd like to put a security question or something, but i'm not sure, because if, for an instance, a friend enters and the question is "Where were you born?" or "Which was your primary school?" he will easily answer it and access to all the files, passwords,... Any ideas?
PS: I'm referring to which kind of recovery "things" I could do, not referred to inputs.
Your problem is roughly analogous to Microsoft's Bitlocker, which also encrypts data with a password. Their solution to forgotten passwords is to generate a long recovery key which users need to store securely away from the encrypted machine.
As SomethingDark stated in a comment, a simple security question is a bad idea because it's easier for other people to guess the answer to than the password.

Mac app: want to copy system files out of the protected location, and failed [closed]

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 9 years ago.
Improve this question
In my Mac program, I want to copy the file located in /private/var/db/dslocal/nodes/Default/users/xx.plist to another disc.
Presumably it will failed, and it is.
I use the api of copyItemAtPath:toPath:error: to do this,
and I NSLog out the error infomation:
it says /private/var/db/dslocal/nodes/Default/users/xx.plist this file couldn't be opened because I don't have permission to view it.
The operation couldn't be completed, Permission denied.
And can anyone could introduce me to some documentations or sample codes that I should read to solve my problem? Please!
You're trying to do something that requires the user to be an administrator (or root), which requires elevated access. The way to do go about this in OSX is to factor out the privileged code into a separate executable that is run with elevated permissions, after having prompted the user for an administrator's credentials.
Take a look at OSX Authorization services for prompting the user:
https://developer.apple.com/library/mac/#documentation/Security/Reference/authorization_ref/Reference/reference.html
And SMJobBless for creating the application with elevated rights: -
https://developer.apple.com/library/mac/#samplecode/SMJobBless/Introduction/Intro.html

Can I programmatically access an RSA soft token passphrase [closed]

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 10 years ago.
Improve this question
In my office, we use RSA "soft token" software to authenticate connections to our UNIX servers. This requires one to enter a PIN, click a button to generate a passcode, then click another button to copy the new passcode to the Windows paster buffer, which can then be pasted into a "password" prompt.
Is there any way to perform these actions programmatically, perhaps from the command prompt? I want to be able to run "batch" programs that connect to the server.
This is a similar question, but not quite.
My guess is the anwser is "no, you can't do that", but I thought I'd ask.
Look at the answer I provided to this SO Question. It essentially involves using SendKeys to simulate keystrokes to the RSA app.

Can a domain owner be hidden? [closed]

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 12 years ago.
Improve this question
I am not sure if this question belongs here or superuser (or other). If not - please let me know and I'll erase the question.
A friend of mine wishes to buy a domain but keep his name hidden. Is there a secure way of doing so?
Yes, It's called Privacy Protection and that's possible if your Domain Registrar supports this. Now a days almost all registrars support this. I buy my domains from answerable.com which is very economical and provides privacy protection as well.
http://www.answerable.com/content.php?action=free_services
If you buy the domain through godaddy.com, there's an option of hiding your info. I believe they charge for that service though.

Resources