MD5 for password encryption in Kentico 10

Kentico 10 introduced a new password format, much safer, which is great!

PBKDF2 - the default and recommended option with the strongest security applies a cryptographic function to passwords and repeats the operation many times.

New Kentico no longer supports MD5 encryption considered to suffer from extensive vulnerabilities.
Recently we had a case that required importing users from an old system into Kentico and of course without affecting user credentials.
We needed to implement a custom functionality that re-enabled MD5 password format support in Kentico 10. Funny, no?
First for User Import, we wrote a simple piece of code, that creates users (reading them from an excel)
 

For the import to work and save the password, as it comes from excel, in Kentico set password format to be saved as plain text. This should be changed back to default value, or any other password formats after import.
After import, in Kentico DB, these users will have UserPasswordFormat set to MD5 event though Kentico 10 does not have this option.
 

Now, all is left to implement is a custom Authentication Module that allows these users to log in without changing their passwords.
The code looks like this:




On module initialization, assigns a handler to the SecurityEvents.Authenticate.Execute event

 


The authentication method should validate users password based on the password format.
 

 
 
Use .Net MD5CryptoServiceProvider to get MD5 hash:
 

                    

Comments
Missouri City garage door service
Thanks for your post. I’ve been thinking about writing a very comparable post over the last couple of weeks, I’ll probably keep it short and sweet and link to this instead if thats cool. Thanks.
12/15/2018 1:31:08 PM

puppies toy for dogs
This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea. <a href='https://dogietoys.com/'>puppies toy for dogs</a>
12/13/2018 8:28:10 PM

UFC 233 Fight Live Stream
Cejudo-Dillashaw will be moved off the UFC 233 card in Anaheim, ... The 125-pound title fight will headline a UFC Fight Night card at the Barclays Center ... that the UFC's first show on ESPN's new premium streaming service be the ... Install Solar if You Live Near PhelanEnergy Bill Cruncher Solar Quotes.
12/12/2018 4:28:47 PM

IIHF world juniors 2019
“[I found out by] phone call a few days ago,” Drury said. “Initially, I was just really happy <a href="https://worldjuniorupdates.com/">IIHF world juniors 2019 Live Stream</a> Any time you get the opportunity to represent your country, it’s something special and definitely something that I’m looking forward [to] and hoping I can do.
12/12/2018 2:38:07 AM

Transmisión en vivo de los Oscar
La popular red social se une al furor por los Premios Oscar 2018 y hará una transmisión en vivo desde la Alfombra Roja. Antes de iniciar el ...
12/11/2018 3:26:17 PM

Daytona 500 2019 Live
The 59th running of the Daytona 500 will take place on Sunday, marking the official start of NASCAR’s season. Chase Elliott earned his second straight Daytona 500 pole with a qualifying lap of 192.872 miles per hour, but the biggest storyline surrounds Dale Earnhardt Jr.
12/10/2018 5:06:14 PM

Katy garage door repair
Nice blog. Found this while searching through
12/10/2018 5:00:29 PM

Pearland TX garage door repair<
Really nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
12/10/2018 12:31:51 PM

The Best Followers
Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot.
12/9/2018 2:02:33 PM

The Godfather Theme ringtone<
I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.
12/8/2018 2:08:06 PM

Hacksmista.com
If you feel when you push up, you should really be looking down, then invert the axis in your control settings. Some people just don't feel the axis controls are correct when they get a video game. That's easy to take care of. Many games give you the option to invert the control schemes in the setting's area.
12/5/2018 10:57:06 PM

videopad video editor crack
Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.
12/5/2018 1:49:09 PM

The Best Followers
This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. <a href="https://thebestfollowers.com/">The Best Followers</a>
12/2/2018 11:12:47 AM

check this out
Thank you so much for ding the impressive job here, everyone will surely like your post.
12/1/2018 1:17:26 PM

World Juniors 2019 Live Stream
It's been a fun employment," said Wiwchar, 33, who hails from the Comox Valley. "I run this competition, and I do the ladies' universes also, so I sort of move the nation over. Fundamentally consistently, eighteen months, I move to another city and run an occasion, and after that go ahead to the following one.
12/1/2018 3:36:43 AM

electronic dog toys
I read a article under the same title some time ago, but this articles quality is much, much better. How you do this.. <a href='https://dogietoys.com/'>electronic dog toys</a>
11/30/2018 4:24:24 PM

kane show mel
This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. <
11/30/2018 10:54:07 AM

visit this site right here
I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job !
11/29/2018 1:56:44 PM

Watch Pacquiao vs Broner Live Online
Boxing's only eight-division world champion Pacquiao ends his two-year hiatus from a U.S. boxing ring when he returns to the MGM Grand Garden Arena in Las Vegas to face the former four-division world titleholder Broner. https://pacquiaovsbronerlive.com/
11/27/2018 7:02:20 AM

Watch Mayweather vs Nasukawa Live Online
Boxing's only eight-division world champion Pacquiao ends his two-year hiatus from a U.S. boxing ring when he returns to the MGM Grand Garden Arena in Las Vegas to face the former four-division world titleholder Broner. https://pacquiaovsbronerlive.com/
11/27/2018 7:01:35 AM

Airco
You completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog.
11/25/2018 10:00:09 AM

Pacquiao vs Broner Live Stream
Las Vegans have been expecting this fight for a long time. It remains a good opportunity for many people who were expecting this fight for years to have the dream fulfilled. The fight will take place in Las Vegas and it will still hold on the date agreed for it.
11/21/2018 6:19:42 PM

Webdesign
I don’t think many of websites provide this type of information.
11/21/2018 8:14:34 AM

NBA All Star 2019 Live
The National Basketball Association All-Star Game is a basketball exhibition game hosted every February by the National Basketball Association, matching a mix of the league's star players, who are drafted by the two players with the most votes. Each team consists of 12 players, making it 24 in total
11/19/2018 9:29:41 AM

Grey Cup 2018 Live
Re our grey cup 2018 Live Stream battles we have in Canada, are our only sourse of combats since 1812 Our country is the best in the world bar none We live in peace and harmony while many countries are in continuos combat but our sports are serious and we take it all with ingrained freindship. If we win we say little and if we lose we say less We highly respect each other after the contest
and move on in our lives.
11/19/2018 6:55:33 AM

Super Bowl Game 2019 Live Stream
The football competition is very prestigious championship in this country. It has millions of followers across the globe. The next event will be on Sunday and that will give a lot of people opportunity to be part of the event. Even if you were not subscribed to cable, you can watch the matches live through various online channels. In case you do not know how best to watch the game, this article will assist you. Once you have access to the internet, the matches will be streamed to you live.
11/18/2018 3:19:53 PM

Super Bowl Live Stream Online
The Eagles beat the Patriots 41-33 in the 2018 Super Bowl and the Super Bowl LIII for 2019 should offer just as exciting a game.Due to take place in February 3 2019, the 53rd Super Bowl will be played at the Mercedes-Benz stadium in Atlanta, Georgia. While this is the third Super Bowl in Atlanta, it'll be the first at this stadium which opened in 2017.
11/15/2018 8:38:31 PM

chagapilz
I really like your blog post very much. You have really shared an informative and interesting blog post with people.
11/15/2018 7:42:01 AM

Watch Mayweather vs Nasukawa Fight Online
The announcement was made on Sunday night 4th November, at a press conference where the RIZIN Fighting Federation- a Japanese MMA company- Chairman Nobuyuki Sakakibara presented the two fighters. From the announcement, it was revealed that Mayweather would take on Nasukawa who just turned 20 years old
11/11/2018 2:48:05 PM

Bead Chain Connector,
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
11/9/2018 10:48:48 AM

photo retouching software
it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity..
11/8/2018 11:53:23 AM

best gas grills
Whether you’re looking for the best gas grills for outdoor BBQ’s or to just throw some steaks on after work, you’ve come to the right place. We’ve scoured the internet to gather as much information as possible to come up with the most detailed gas grill reviews for 2018 and 2019.
11/6/2018 5:59:58 PM

AFC Asian cup Live Stream
The 2019 AFC Asian Cup qualifiers is the process organised by the Asian Football Confederation to determine the participating teams for the 2019 AFC Asian ...
11/6/2018 6:27:35 AM

National Championship 2019 Live Stream
You can watch NCAA College Football live online from the US, ... Last season, Alabama Crimson Tide took the National Championship title, their fifth time ... and minor sports streaming service, allowing fast live streaming with ...
11/3/2018 8:16:08 AM

World Juniors Championship 2019 Live
The IIHF Ice Hockey World Junior Championships, commonly known simply as the World Juniors, are an annual event organized by the International Ice Hockey Federation for national under-20 ice hockey teams from around the world. They are traditionally held in late December, ending in early January.
11/2/2018 9:13:40 AM

Golden Globe Live
The Golden Globe Award is an American accolade bestowed by the 93 members of the Hollywood Foreign Press Association (HFPA) recognizing excellence in film and television, both domestic and foreign. The annual formal ceremony and dinner at which the awards are presented is a major part of the film industry’s awards season.
10/31/2018 12:53:24 PM

name patches
Super site! I am Loving it!! Will return once more, Im taking your food additionally, Thanks.
10/30/2018 10:59:43 AM

Kajal Ahuja
Kajal Ahuja is an Independent Escorts in Mumbai, India.
10/29/2018 11:33:51 AM

Blackberry Girls
Blackberry Girls Russian Escorts service in Delhi, India.
10/29/2018 11:32:49 AM

Kolkata Fun Club
Kolkata Fun Club escorts services in Kolkata, West Bengal, India.
10/29/2018 11:31:53 AM

Indian Companions
Indian Companions Female escorts service in Delhi, India.
10/29/2018 11:30:57 AM

top 10 digital cameras under 200
I was taking a gander at some of your posts on this site and I consider this site is truly informational! Keep setting up..
10/29/2018 8:02:04 AM

MSC Dissertation Help
Medical Dissertation writing help in Dubai, UAE is ready to provide the right support and mentoring needed by all our clients. We always believe in providing one-stop-solution for all ethical academic assistance to all of our clients. Medical Dissertation Writing Company in Dubai, UAE provides the most comprehensive solution to your dissertation report writing and extensive mentoring for dissertation help.
10/28/2018 5:46:02 PM

Zonnepanelen
I read a article under the same title some time ago, but this articles quality is much, much better. How you do this..
10/28/2018 11:18:28 AM

Live Super Bowl
SUPER BOWL 53: Atlanta Super Bowl Host Committee is celebrating 100 days until the Super Bowl by revealing the Atlanta-based, GRAMMY Award-Winning Producer who is charged with producing the musical acts associated with Super Bowl Live. More: https://superbowl2019s.com/
10/27/2018 12:32:24 PM

Live Sag Awards
The celebrities union introduced that Alda would accept its highest honour on January 27. The award to given annually to an actor who fosters the"finest ideals of the acting profession."
<a href="https://sagawards2019.com/">Live Sag Awards</a>
10/25/2018 4:35:47 PM

golden globes live
for its honors will be unveiled on Dec. 6 of this calendar year, using the reside ceremony being approximate per month later on Jan. 6, 2019
10/25/2018 9:42:40 AM

SEO
I don t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site.
10/25/2018 6:21:33 AM

Warmtepomp
I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles.
10/24/2018 10:07:46 AM

best video camera under 200
I am impressed by the information that you have on this blog. It shows how well you understand this subject.
10/23/2018 10:43:06 AM

best vlog camera under 200
I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read!! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site.
10/23/2018 10:13:47 AM

Zonnepanelen
After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article.
10/20/2018 5:58:03 AM

Miss Universe Updates News
Everything about Miss Universe Live Stream 2018 online official coverage, Contestants list, Past Winners, Host Country, Timings, and Schedule.
10/19/2018 11:26:49 AM

Warmtepomp
This is very useful post for me. This will absolutely going to help me in my project.
10/17/2018 9:46:11 AM

Gurgaon Escorts
istinguished buddy hint in gurgaon is knowledgeable gurgaon Escorts established, so they'll assist you higher.
10/16/2018 8:09:11 AM

Zonnepanelen
I am overwhelmed by your post with such a nice topic. Usually I visit your blogs and get updated through the information you include but today’s blog would be the most appreciable. Well done!
10/14/2018 2:19:45 PM

best canon vlogging camera with flip screen
A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset...
10/11/2018 12:25:35 PM

matching comforter curtains
Very awesome!!! When I seek for this I found this website at the top of all blogs in search engine.
10/9/2018 7:15:34 AM

baby monitor with breathing sensor
Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates.
10/6/2018 8:27:22 AM

DB Homework Expert
Great Info! I Recently Came Across Your Blog And Have Been Reading Along. I Thought I Would Leave My First Comment. I Don’t Know What To Say Except That I Have
10/3/2018 9:33:47 AM

Rogaine before and after
This website is remarkable information and facts it's really excellent
9/30/2018 8:51:26 AM

aptoide installer
Wonderful blog post. This is absolute magic from you! I have never seen a more wonderful post than this one. You've really made my day today with this. I hope you keep this up!
9/29/2018 6:55:03 PM

Zonnepanelen offerte
Wonderful blog post. This is absolute magic from you! I have never seen a more wonderful post than this one. You've really made my day today with this. I hope you keep this up!
9/26/2018 11:43:07 AM

kong treat dispenser
We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work
9/25/2018 12:56:30 PM

SEO Services in Chennai
This is very useful post for me. This will absolutely going to help me in my project.
9/23/2018 8:51:42 PM

tech news
This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post!
9/23/2018 3:47:49 PM

Routing Number
Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post.
9/22/2018 10:19:50 AM

Webdesign
Cool stuff you have and you keep overhaul every one of us
9/22/2018 10:00:26 AM

gmail.com sign in
I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles.
9/21/2018 8:00:00 PM

Warmtepompboiler
This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this..
9/21/2018 5:44:40 PM

best free movie streaming sites
I have read your excellent post. This is a great job. I have enjoyed reading your post first time. I want to say thanks for this post. Thank you...
9/18/2018 7:07:37 AM

Airco
Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.
9/16/2018 12:41:39 PM

Best Fruits for Diabetics
Everyone loves it when individuals get together and share thoughts. Great blog, continue the good work!
9/15/2018 12:10:45 PM

Detox
Great info. Lucky me I came across your website by accident (stumble upon). I have saved as a favourite for later!
9/15/2018 12:10:02 PM

Home Remedies for Chapped Lips
Everyone loves it when individuals get together and share thoughts. Great blog, continue the good work!
9/15/2018 12:09:21 PM

canon driver
The material and aggregation is excellent and telltale as comfortably.
9/15/2018 8:16:27 AM

mafia city game
What separates Mafia City from those games is, of course, the lack of a story or any traditional narrative design.
9/13/2018 6:13:38 AM

bisep fsc result 2018 by name
This website and I conceive this internet site is really informative ! Keep on putting up!
9/10/2018 8:10:36 AM

windows 8.1 news
This website and I conceive this internet site is really informative ! Keep on putting up!
9/9/2018 8:08:54 AM

Situs Togel
i like the blog. excellent submit. it's far very true, people should learn how to analyze before they can research. lol i are aware of it sounds humorous however its especially true. . .
9/8/2018 12:18:38 AM

christmas religious poetry
I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.
9/5/2018 3:59:05 PM

adobe courses vancouver
the first casualty of war is the reality
9/2/2018 1:47:23 PM

buy website traffic adsense safe
So luck to come across your super blog. Your blog brings me a incredible deal of a laugh.. correct luck with the website online.
9/1/2018 3:12:04 PM

Kolkata Escorts
Realy Nice Post Sir Thanks For Share.
8/19/2018 12:46:41 PM

Kolkata Escorts
Renu Das Kolkata Escorts Services has gorgeous females provides Independent Escorts Service in Kolkata call girls at 100% satisfaction with VIP models. Provided Kolkata escorts at our agency are professional in nature and are eager to serve you at your place.
8/19/2018 12:46:16 PM

National Parents Day
Excellent effort to make this blog more wonderful and attractive.
8/5/2018 10:28:10 AM

godaddy $1 hosting
I totally agree with author opinion about this subject and I think that it would be really interesting to create such discussion with other this website visitors. Anyway thanks a lot one more time for the great.
7/24/2018 10:40:43 AM

eBay Gift Card Balance
really impressed with your article, such great & usefull knowledge you mentioned here
7/17/2018 7:05:12 AM

long john silvers menu
Long John Silver. The duo was able to open 621 restaurants of their brand by June 1976. The company grew well until it reached the state of bankruptcy. Triarc Companies Inc. tried to buy the company for $75 million in cash and $450 million in assumed debt but the deal fell through
7/17/2018 7:03:13 AM

academic help
The worst part of it was that the software only worked intermittently and the data was not accurate. You obviously canot confront anyone about what you have discovered if the information is not right
7/7/2018 8:24:29 AM

professional cosplay costumes
I love your work very very much. Thanks a lot.
7/6/2018 8:40:05 AM

Take My Homework
I appreciate this work amazing post for us I like it.
6/27/2018 11:31:52 AM

Help With Operating System Assignment
Pretty helpful material, much thanks for this article
6/27/2018 11:30:37 AM

Bachelor of Business Administration Homework Help
I’m really impressed with your article, such great & usefull knowledge you mentioned here
6/27/2018 11:29:46 AM

Programming Assignments
Things are very open and intensely clear explanation of issues. was truly information. Your website is very beneficial.
6/27/2018 11:28:46 AM

Vitamin D
I would also motivate just about every person to save this web page for any favorite assistance to assist posted the appearance.
6/25/2018 10:09:47 AM

Vitamin K
I would recommend my profile is important to me, I invite you to discuss this topic...
6/25/2018 8:58:34 AM

Vitamin B9
This was among the best posts and episode from your team it let me learn many new things.
6/25/2018 7:49:01 AM

Vitamin B6
Truly, this article is really one of the very best in the history of articles. I am a antique ’Article’ collector and I sometimes read some new articles if I find them interesting. And I found this one pretty fascinating and it should go into my collection. Very good work!
6/24/2018 6:43:39 PM

Vitamin B5
The worst part of it was that the software only worked intermittently and the data was not accurate. You obviously canot confront anyone about what you have discovered if the information is not right.
6/23/2018 7:50:14 PM

Vitamin B12
I curious more interest in some of them hope you will give more information on this topics in your next articles.
6/23/2018 6:21:06 PM

Vitamin E
Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please?
6/23/2018 6:02:25 PM

sudoku
It is really very nice and amazing to play free sudoku online and it is single player game.
6/23/2018 9:37:55 AM

Vitamin B1
Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!
6/22/2018 2:04:14 PM

Vitamins
I will really appreciate the writer's choice for choosing this excellent article appropriate to my matter.Here is deep description about the article matter which helped me more.
6/22/2018 11:47:26 AM

Apple Cider Vinegar
Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here.
6/22/2018 9:52:32 AM

Sunflower Seeds
It proved to be Very helpful to me and I am sure to all the commentators here!
6/21/2018 5:03:38 PM

Ginseng
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks
6/21/2018 4:58:10 PM

Lychee
It should be noted that whilst ordering papers for sale at paper writing service, you can get unkind attitude. In case you feel that the bureau is trying to cheat you, don't buy term paper from it.
6/21/2018 2:14:40 PM

Beets
Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us.
6/21/2018 10:34:11 AM

help with assignment writing
What you are wanting to do is enforce a particular format for data consitancy. That would be done through a field constraint by passing the information between your front end application and then validates against the data field constraint and returns a value if the constraint is not met.
2/24/2018 9:55:08 AM

Buy essays
This is really useful for me. Your idea to speed up website is amazing, thank you for sharing. I like your writing style, keep posting like this. I am very proud to see this kind of informative topic.
2/22/2018 6:39:29 AM

write my essay for me cheap
I visit this blog first time and persuade by this good stuff work. Incredible post keeps up posting such great information. There are things here that I didn't think some time as of late. Because of cool such a position, to the point that is to a great degree carefully taken, we will talk a huge amount of colleagues about it.
2/14/2018 10:37:39 AM

do my assignment for me
While using kentiko for the first time, initially i had many doubts like how to load css and java-script etc, but now your all posts helped me and now i became familiar with many of the features.
2/14/2018 10:35:56 AM

Contact us

We’re glad to hear a Hello from you

start a project

Want to work with us? Let’s get started!

Contact us

USA
600 First Avenue, Seattle WA 98104
Phone: +1(206) 855-5280
Mail: info@addisolv.com

Romania
Buftea 1, 2nd floor, Cluj-Napoca
Phone: +40 374 954 345
Mail: info@addisolv.com

Certified partner in

Let's keep in touch on