cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Encrypted Password Validation

Hi,

I am trying to create an app. I have a login screen with UserId & Password.
I need to check whether the userid & password provided by the user is already present in my SQL Server DB(Data source) or not.
The passwords in SQL Database are in encrpyted form. Can powerapps read encrypted columns from SQL Server?

5 REPLIES 5
Highlighted
New Member

Encrypted Password Validation

Hi,

I am trying to create an app. I have a login screen with UserId & Password.
I need to check whether the userid & password provided by the user is already present in my SQL Server DB(Data source) or not.
The passwords in SQL Database are in encrpyted form. Can powerapps read encrypted columns from SQL Server?

Highlighted
Community Support
Community Support

Re: Encrypted Password Validation

Hi @SR1,

 

If here the User Password is stored within one SQL Table, and the password is encrypted, there is no way for PowerApps to read that Password, unless the Password is deciphered before load in PowerApps.

 

Besides, if here you mean to use the SQL Server Authentication in PowerApps, then please check the following article for more details:

Connect to SQL Server from PowerApps

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Encrypted Password Validation

Thanks @v-micsh-msft
I am wondering how to compare plain password(entered in powerapps) with encrypted passwords available in my SQL server table.

Is it possible to pass the user input(password) from powerapps to an azure function(c#) and within this function do a
comparison with SQL table column value(column has encrypted passwords) and return back true or false result to powerapps?

 

Highlighted
Community Champion
Community Champion

Re: Encrypted Password Validation

Yes, it seems possible.

Highlighted
Frequent Visitor

Re: Encrypted Password Validation

Hi

 

We're fighting exactly the same problem. We have a simple login screen with username &password and the data is retrieved from a SQL database. At the moment the password is stored as plain text in the DB, but the way we want it is encrypted. I know that it is possible to encrypt the password in the DB, but then it can no longer be read by Powerapps.

 

Would you be kind enough to explain how you solved this problem?

 

 

Kr,

Marcel

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,531)