#DevDiscuss Archive


Tuesday November 20, 2018
9:00 PM EST

  • ThePracticalDev Nov 20 @ 9:01 PM EST
    Time for #DevDiscuss Tonight's topic is: Practical security tips Let's start: - What is the interplay between security and user experience and simplicity? - What are some every day security tips folks could make use of? - What are your grounding principles in security?
  • kvlly Nov 20 @ 9:03 PM EST
    2FA everything. #DevDiscuss
  • sqlrob Nov 20 @ 9:05 PM EST
    The security tips I always follow when coding 1) Never trust the client 2) Never trust the server 3) Never trust yourself #devdiscuss
    In reply to @ThePracticalDev
  • bendhalpern Nov 20 @ 9:06 PM EST
    In terms of security principles for developers, here's a roundup of some really great fundamentals. #DevDiscuss https://t.co/km6fxfNLju
  • lethargilistic Nov 20 @ 9:07 PM EST
    Algorithms in school have more value as a historical/cultural subject than they do as a strictly practical subject. If you're not learning that real people thought of them and that there are real subjective concerns being weighed, you're not learning algorithms. #DevDiscuss
    • ThePracticalDev Nov 13 @ 9:05 PM EST
      Time for #DevDiscuss 😻 Tonight's topic is ALGORITHMS 🤖 Some jump-off questions: - Where do "algorithms" fit in with practical day-to-day development? - Which named algorithms are noteworthy and worth learning? - How should we teach algorithms compared to other concepts?
  • IgnoreIntuition Nov 20 @ 9:08 PM EST
    Never trust the user #Devdiscuss
    In reply to @sqlrob, @ThePracticalDev
  • dangolant Nov 20 @ 9:08 PM EST
    Re security v simplicity: I never consistently could stick with a password manager until I started using 1Password. It’s not the security, it’s the UX #DevDiscuss
    In reply to @ThePracticalDev
  • dangolant Nov 20 @ 9:09 PM EST
    Also: DMing people in your org secrets is leaking them to Slack /Google / etc. #devdiscuss
    In reply to @ThePracticalDev
  • JeffDStephens Nov 20 @ 9:11 PM EST
    Bake security in from the beginning. #DevDiscuss
  • IgnoreIntuition Nov 20 @ 9:11 PM EST
    This might be fairly obvious advice but: Leave security to the experts. Don’t roll your own cryptography solution. Use one that is tried and tested. Always assume that people have solved for the mistakes you will inevitably make #Devdiscuss
    • ThePracticalDev Nov 20 @ 9:01 PM EST
      Time for #DevDiscuss Tonight's topic is: Practical security tips Let's start: - What is the interplay between security and user experience and simplicity? - What are some every day security tips folks could make use of? - What are your grounding principles in security?
  • JT_Grimes Nov 20 @ 9:12 PM EST
    Starting principles for security: 1) Assume malicious users/attackers are incredibly smart. 2) Assume innocent users are incredibly stupid. 3) Assume admin users are negligent. #DevDiscuss
    • ThePracticalDev Nov 20 @ 9:01 PM EST
      Time for #DevDiscuss Tonight's topic is: Practical security tips Let's start: - What is the interplay between security and user experience and simplicity? - What are some every day security tips folks could make use of? - What are your grounding principles in security?
  • TallBlondeGuy Nov 20 @ 9:12 PM EST
    Bah! Forgot the hashtag. #DevDiscuss
  • dangolant Nov 20 @ 9:13 PM EST
    secrets, config management, and secure coding principles are severely undertaught in classrooms IMO. Just to get a good basis I had to do an independent study, and it’s a subject where guidance is more important than elsewhere #Devdiscuss
  • dangolant Nov 20 @ 9:14 PM EST
    Right, which is why UX is important further down the stack that just in end user tools. If your crypto or auth tools are hard, people won’t use them #DevDiscuss
    In reply to @IgnoreIntuition
  • JeffDStephens Nov 20 @ 9:14 PM EST
    We less ISSOs focused solely on compliance and binary yes/no declarations, and more security practitioners actually bringing their skill set to solution design. #DevDiscuss
  • IgnoreIntuition Nov 20 @ 9:15 PM EST
    I’ve used @dashlane for about a year now. I find it a little cumbersome in mobile but it is fantastic for the browser. #Devdiscuss
    In reply to @dangolant, @ThePracticalDev, @dashlane
  • waterproofheart Nov 20 @ 9:15 PM EST
    Don’t reuse passwords. If you do your accounts are only as secure as the compromised/least secure site. 😅 #DevDiscuss
    In reply to @ThePracticalDev
  • JeffDStephens Nov 20 @ 9:16 PM EST
    We need fewer ISSOs focused solely on compliance and binary yes/no declarations, and more security practitioners actually bringing their skill set to solution design. #DevDiscuss
  • janeosaka Nov 20 @ 9:17 PM EST
    Physical security keys/FIDO U2F devices like YubiKey as a method of 2FA is something I’ve been using for a while for personal and work stuff. A steal considering the fact that no personal info is stored in there, strong encryption and it has no cap on uses. #DevDiscuss #2fa
  • bcoates703 Nov 20 @ 9:17 PM EST
    From a security guy that codes id say: Protect yourself: 2FA all the things and get a password manager Protect your data: never trust user input Protect your users: encrypt and hash and know when to use each #DevDiscuss
    In reply to @ThePracticalDev
  • milkstarz Nov 20 @ 9:18 PM EST
    Only store what data you need to store. define what data needs to be protected for your org and what could happen if said data was compromised #devdiscuss
    In reply to @ThePracticalDev
  • dangolant Nov 20 @ 9:18 PM EST
    I found it wanting, but to each their own. 1P is like butter on mobile, and really good on Desktop. I have a free year if you want it! #DevDiscuss
    In reply to @IgnoreIntuition, @ThePracticalDev, @dashlane
  • IgnoreIntuition Nov 20 @ 9:19 PM EST
    UX is UX is UX #DevDiscuss
    In reply to @dangolant
  • dangolant Nov 20 @ 9:19 PM EST
    Totally. If internal security and audit processes are too cumbersome, devs will work around them #DevDiscuss
    In reply to @JeffDStephens
  • JeffDStephens Nov 20 @ 9:19 PM EST
    Only encrypt what really needs encrypting. #DevDiscuss
  • dangolant Nov 20 @ 9:20 PM EST
    Interesting, why? #DevDiscuss
    In reply to @JeffDStephens
  • bendhalpern Nov 20 @ 9:20 PM EST
  • waterproofheart Nov 20 @ 9:21 PM EST
    In case you need more convincing not to reuse passwords 😅 “Mongo HQ got compromised because Adobe got compromised. An executive from Mongo HQ was using the same password that was in the Adobe password breach.” https://t.co/V4aJ07Znq1 #DevDiscuss
    In reply to @ThePracticalDev
  • bendhalpern Nov 20 @ 9:23 PM EST
    I think in practical terms, personal security is about doing a bit of work upfront so that staying secure is really easy in the long run. It seems like if we don't seek out a stable security return, we're always behind the eight ball. #DevDiscuss
  • waterproofheart Nov 20 @ 9:23 PM EST
    I’ve always wondered what makes people trust password managers to hold all their ~ sensitive ~ data? Should password managers be used in conjunction with two factor auth? #DevDiscuss
    In reply to @ThePracticalDev
  • bendhalpern Nov 20 @ 9:25 PM EST
    From a developer's perspective, security comes from adopting shared principles that help answer questions we haven't considered yet. This is opposed to than adhering to a lot of specific rules which account for past problems, rather than future problems. #DevDiscuss
  • dangolant Nov 20 @ 9:25 PM EST
    Security, imo, is a Hygiene. And Hygienes, IMO, are allll about work up front / planning and less about discipline. Eating well often means planning your meals. Keeping your house clean often means figuring out where things belong *ahead of time. Etc. #DevDiscuss
    In reply to @bendhalpern
  • waterproofheart Nov 20 @ 9:25 PM EST
    👀 Has anyone used @Yubico’s physical key for two factor authorization? I haven’t yet but I’m curious... #DevDiscuss
    In reply to @ThePracticalDev, @Yubico
  • dangolant Nov 20 @ 9:26 PM EST
    I had one of the older ones at a previous job. They’re great! Beats whipping out your 2FA app imo. #devdiscuss
    In reply to @waterproofheart, @ThePracticalDev, @Yubico
  • JeffDStephens Nov 20 @ 9:26 PM EST
    I have one but haven’t used it 😂 #DevDiscuss
    In reply to @waterproofheart, @ThePracticalDev, @Yubico
  • t_sedgwick Nov 20 @ 9:26 PM EST
    Hard coding 👏🏽 passwords 👏🏽 in applications 👏🏽 never 👏🏽 ends 👏🏽well #DevDiscuss
    In reply to @ThePracticalDev
  • dangolant Nov 20 @ 9:28 PM EST
    No worries. Offer stands for anyone who sees this. #DevDiscuss
    In reply to @IgnoreIntuition, @ThePracticalDev
  • SleepySecNinja Nov 20 @ 9:28 PM EST
    #devdiscuss Logs or it didn't happen. Seriously, imagine you are a security person trying to figure out what happened after the fact. Consult the #OWASP logging cheat sheet!
  • milkstarz Nov 20 @ 9:28 PM EST
    in relation to software/web development: 1. manage and version lock your dependencies 2. humans are the weakest part of the information security chain 3. Whenever possible, use SSL/HTTPS #devdiscuss
    In reply to @ThePracticalDev
  • JeffDStephens Nov 20 @ 9:28 PM EST
    Yes. Use your security knowledge and historical context to create code that is positioned to handle the crazy shit it will encounter. Then test all the crazy shit you can muster. #DevDiscuss
    In reply to @bendhalpern
  • JeffDStephens Nov 20 @ 9:30 PM EST
    Code reviews are still a thing. #DevDiscuss
  • bendhalpern Nov 20 @ 9:30 PM EST
    In the market for a new team password manager? Look no further than this wonderful thread from just today: #DevDiscuss https://t.co/DXun70hR5K
  • janeosaka Nov 20 @ 9:32 PM EST
    Security for devs: Use Apple’s Touch ID fingerprint API (or android equivalent) if you write apps that require users to login. I generally try to stay away from writing/building my own encryption because why would I want to do that when someone else can do it better #DevDiscuss
  • ojkelly Nov 20 @ 9:33 PM EST
    Secrets are plaintext for the minimum amount of time possible, closest to where they are needed. #DevDiscuss
    In reply to @ThePracticalDev
  • dangolant Nov 20 @ 9:33 PM EST
    Also: redact your logs #devdiscuss
    • SleepySecNinja Nov 20 @ 9:28 PM EST
      #devdiscuss Logs or it didn't happen. Seriously, imagine you are a security person trying to figure out what happened after the fact. Consult the #OWASP logging cheat sheet!
  • TallBlondeGuy Nov 20 @ 9:33 PM EST
    With respect to misquotes of Ben Franklin, we do sacrifice Liberty for Safety all the time. When there are threats to our freedom, we try to strike a balance between neutralizing the threat while maintaining as much of that freedom as we can. #DevDiscuss
    • ThePracticalDev Nov 20 @ 9:01 PM EST
      Time for #DevDiscuss Tonight's topic is: Practical security tips Let's start: - What is the interplay between security and user experience and simplicity? - What are some every day security tips folks could make use of? - What are your grounding principles in security?
  • TallBlondeGuy Nov 20 @ 9:33 PM EST
    That is, security exists because of security threats, so the goal is to mitigate the threats while being as unobtrusive as possible. The best way to not get hacked is to not use a computer at all, right? But we don't need to go that far to stop/slow a hacker. #DevDiscuss
  • TallBlondeGuy Nov 20 @ 9:33 PM EST
    For potential @PassitDotIO users, our goal is to convince them that their security scheme is probably not good enough. Usually this isn't hard; people are quick to say "I know this isn't a great solution, but…" when asked about their password management schemes. #DevDiscuss
    In reply to @PassitDotIO
  • TallBlondeGuy Nov 20 @ 9:33 PM EST
    For the devs, we need to be just as focused on design and simplicity as we are on security. Most password managers are incredibly safe, but some are very hard or unintuitive to use, and that's coming from someone who's good at picking up new software. #DevDiscuss
  • IgnoreIntuition Nov 20 @ 9:34 PM EST
    Also private keys should be private. #Devdiscuss
    In reply to @t_sedgwick, @ThePracticalDev
  • garam_mosalah Nov 20 @ 9:35 PM EST
    Patching on security controls onto an application is always much, much harder than architecting for security. Plan for security early in the development lifecycle. #devdiscuss #introsec
    In reply to @ThePracticalDev
  • BenLeChialeux Nov 20 @ 9:35 PM EST
    From the managers' perspective, security doesn't add anything *visible* or useful to the end user, so it's not important... That's the problem! They'd rather have you work 30 days on a stupid useless report than make sure the app is secure! #DevDiscuss
  • Rubberduck203 Nov 20 @ 9:36 PM EST
    Disable root login. Disable password login. Use a strong key. SSH isn’t hard to secure, so just do it. #DevDiscuss
  • JT_Grimes Nov 20 @ 9:37 PM EST
    Assume that there will be a data breach. Design to minimize the damage from it. #DevDiscuss
  • NaveenS16 Nov 20 @ 9:38 PM EST
    The Fundamentals of Security Every Developer Should Understand 👉 @bendhalpern https://t.co/L36VJR1ZBX #Security #WebDev #DevDiscuss
  • dangolant Nov 20 @ 9:38 PM EST
    How do you feel about the notion that the field should be moving away from SSHing into boxes? #DevDiscuss
    In reply to @Rubberduck203
  • bendhalpern Nov 20 @ 9:42 PM EST
    Security UX is big business. Much easier said than done but complicated solutions lead to cutting corners. #DevDiscuss
    • TallBlondeGuy Nov 20 @ 9:33 PM EST
      For the devs, we need to be just as focused on design and simplicity as we are on security. Most password managers are incredibly safe, but some are very hard or unintuitive to use, and that's coming from someone who's good at picking up new software. #DevDiscuss
  • dangolant Nov 20 @ 9:42 PM EST
    Just found out @milkstarz has 35 re-used passwords in 1Password, which a) taught me a great feature I didn’t know about and b) made me spit water all over his PC #DevDiscuss
    In reply to @waterproofheart, @ThePracticalDev, @Yubico, @milkstarz
  • janeosaka Nov 20 @ 9:44 PM EST
    Been making a video game that is offline/local since late September, and all the devs agreed on not handling any possible security issues. Listing any data temperament (values in XML files) during play through as 'mods'. "We welcome the players to mod our game!" #DevDiscuss
  • dugword Nov 20 @ 9:44 PM EST
    Keep you application as simple as possible. More features and more dependencies means a larger surface area for attack. And that risk grows exponentially as new features/dependencies interact with each other. Simpler applications also are usually easier to use. #DevDiscuss
    • ThePracticalDev Nov 20 @ 9:01 PM EST
      Time for #DevDiscuss Tonight's topic is: Practical security tips Let's start: - What is the interplay between security and user experience and simplicity? - What are some every day security tips folks could make use of? - What are your grounding principles in security?
  • Programazing Nov 20 @ 9:45 PM EST
    Check out my website/blog at https://t.co/4DAQVTUa1s #DevDiscuss
  • NaveenS16 Nov 20 @ 9:47 PM EST
    2FA is one of the most impactful controls we can put in place to protect our accounts and prevent fraud. #DevDiscuss
    In reply to @ThePracticalDev
  • yechielk Nov 20 @ 9:50 PM EST
    Can we do security horror stories? At a previous job I was poking around the DBs one of my first days and noticed to my horror that all of the passwords were in plaintext! I raised hell with my manager and issued an emergency patch to start hashing the passwords... #DevDiscuss
  • yechielk Nov 20 @ 9:50 PM EST
    A few days later the release goes through and I notice a few lines of code added to my fix to basically store, alongside the new hashed passwords, the plaintext passwords as well. I asked my manager what's up? #DevDiscuss
  • yechielk Nov 20 @ 9:50 PM EST
    He said they decided to leave them in for now until they can be 100% sure my fix didn't break anything. 10 months later when I left the company those plaintext passwords were still there in the database alongside the hashed ones... 🤦🏽‍♂️ #DevDiscuss
  • ThePracticalDev Nov 20 @ 9:50 PM EST
    In the last few minutes of #DevDiscuss, does anybody have any news to share, like a project or a personal win, or any other announcement?
  • richburroughs Nov 20 @ 9:51 PM EST
    Consider a tool like HashiCorp’s Vault for secrets management. Vault allows you to do things like expire credentials and have them generated on demand. Great for dealing with things like creds for DBs your app needs to connect to. #DevDiscuss
    In reply to @ThePracticalDev
  • skrish2017 Nov 20 @ 9:56 PM EST
    #DevDiscuss joining in late but just few days ago successfully wrote a custom script that helps document references for a research paper I am writing. There are plenty available already, but wanted to write my own. And learn. So yay!
    In reply to @ThePracticalDev
  • ermontgo Nov 20 @ 9:57 PM EST
    This is a little old, but a month ago I gave my first public presentation at Denver Dev Day talking about Blazor! #DevDiscuss
    In reply to @ThePracticalDev
  • skrish2017 Nov 20 @ 9:57 PM EST
    #DevDiscuss Way to go Ben!
    In reply to @bendhalpern, @ThePracticalDev
  • richburroughs Nov 20 @ 9:57 PM EST
    Started a really rad new job last week as a Community Manager for @GremlinInc. Talking to folks about Chaos Engineering, which is really fun. #DevDiscuss
    In reply to @ThePracticalDev, @GremlinInc
  • IgnoreIntuition Nov 20 @ 9:57 PM EST
    This week we released version 0.3 of our D3 Chart plug-in for Vue. That’s something. https://t.co/S8ZTg5AhyJ #Devdiscuss
    • ThePracticalDev Nov 20 @ 9:50 PM EST
      In the last few minutes of #DevDiscuss, does anybody have any news to share, like a project or a personal win, or any other announcement?
  • Wintermute21 Nov 20 @ 9:58 PM EST
    Would like to announce I'm still looking for work, ha. #DevDiscuss
    • ThePracticalDev Nov 20 @ 9:50 PM EST
      In the last few minutes of #DevDiscuss, does anybody have any news to share, like a project or a personal win, or any other announcement?
  • QuetCodesFire Nov 20 @ 9:59 PM EST
    I think that users are allowed to use bad passwords too often in websites/applications. If a user tries using 'password123' they should get a prompt letting them know it's not secure and a link to read more about good password practices. #devdiscuss
  • ThePracticalDev Nov 20 @ 9:59 PM EST
    That does it for #DevDiscuss Stay safe and secure, stay coding. ❤️
  • skrish2017 Nov 20 @ 9:59 PM EST
    #DevDiscuss And don't write down passwords anywhere. This happens a lot.
    • waterproofheart Nov 20 @ 9:15 PM EST
      Don’t reuse passwords. If you do your accounts are only as secure as the compromised/least secure site. 😅 #DevDiscuss
      In reply to @ThePracticalDev