iPhone / ios development - best way to check if password is secure enough?

what is the best way to check the strength of a password in iOS development? I came across this post: What is the best way to check the strength of a password? but this is not iOS specific. My question is - Does Apple or third party libraries provide any libraries by default which I can use to check if the user entered a secure password?

If not, then as the above post says, is using regular expressions the best way?

Does Apple have any requirements which our app needs to implement to make sure user has a secure password?

I am planning on using the keychain to store the password.

Answers


No, Apple doesn't provide a standard or library for determining password strength - they don't have a common policy on what constitues "secure" in that context.

Whether or not the post you link describes the best way is often a matter of opinion - Alex Brown described in the comments some reasons why attempting to validate passwords can backfire on developers. That discussion might be a little out of scope for StackOverflow, though.


Need Your Help

Displaying session state in masterpage for asp.net

c# asp.net session

I am designing a website whish has common forms such as login,logout,registration,masterpage etc.I am maintaining session when user logs in.I want to show logout on menu bar which is in master page...

How to place logo in center of a background image?

html css twitter-bootstrap

I wanted to place the logo in center of a background image.I tried this by adding margin.But when i resize the screen in small size it is creating extra space.I think this is not the right way.Please

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.