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.
User avatar
Posts: 33
Joined: Tue May 13, 2014 11:06 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
Joined: Wed Dec 03, 2014 2:26 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 ***

Posts: 14614
Joined: Tue May 22, 2007 9:57 am
Answers: 2
Has voted: 1 time
Been upvoted: 3 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
Posts: 32
Joined: Wed Jul 27, 2011 9:01 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?