DEV Community

Discussion on: Is web security broken?

Collapse
 
shane profile image
Shane McGowan

It's the same with every element of software development, people have opinions on which is better. Use what is best for your use case

Collapse
 
johnkazer profile image
John Kazer

But surely security is a bit more fundamental that "what's the best way to build a component?".

Collapse
 
shane profile image
Shane McGowan

There is no perfect answer for security as software comes in so many different forms. Personally I like JWT for API authentication as it is easy to use with both web and mobile applications as generally you wouldn't want to be using cookies for your mobile application.