Create Login FORM Username & Password

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 9 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
shamir_79
Posts: 33
Last visit: Sun Aug 02, 2015 6:41 am

Create Login FORM Username & Password

Post by shamir_79 »

Is there any possible way that we can have a Excel/CSV file with 02 colums (Colum1-Usernames, Colum2-Password) .

When user types the Username and Password and clicks Login, It shd checked the Excel/CSV file. If that credentials are available he/she shd be allow to login, Else shd give sm ERROR "Access Denied" ... Is this possible and easy?

Plz provide with the step. thanks :-)
User avatar
SAPIEN Support Forums
Posts: 945
Last visit: Thu Oct 22, 2015 1:10 pm

Create Login FORM Username & Password

Post by SAPIEN Support Forums »

This is an automated post. A real person will respond soon.

Thank you for posting, shamir_79.

Here are some hints to help you get an accurate and complete answer to your question.

Ask in the best forum: If you asked in the wrong forum, just copy your question to the right forum.

Anticipate follow-up questions!

Did you remember to include the following?
  • 1. Product, version and build
    2. 32 or 64 bit product
    3. Operating system, e.g. Windows 7 64 bit.
    4. Attach a screenshot, if applicable
    5. Attach logs, crash reports, etc., in a ZIP file
If not, please take a moment to edit your original post or reply to this one.

*** Make sure you do not post any licensing information ***
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Create Login FORM Username & Password

Post by jvierra »

I am not sure what your quesiton is? Excel has the ability to be password protected. If you need help with Excel you need to post in n Excel forum. This forum is for PowerShell scripting.

If you are asking how to login with a form you realy can't. Windows handles logins for us.

If you are asking how to build a password protected form then you need to understand that there is really no secure way to do what you are asking without wwriting a good amount of code. You can start by searching the Interenet for any examples. Yu can search for Excel exmples and examples of howw to write PowerShell scripts and forms.

Post back if you have a more specific question.
User avatar
cothomas
Posts: 32
Last visit: Sun Feb 04, 2024 7:04 am

Re: Create Login FORM Username & Password

Post by cothomas »

It sounds like the op is asking for a mini version of Active Directory.

A couple of questions:
1. Are the logons just for accessing the application?
2. Are you using these logons for domain authentication?
3. How secure does the source database (usernames and passwords) need to be?
This topic is 9 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked