Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jonathan Roberts 409 posts 1063 karma points
    Mar 02, 2018 @ 11:58
    Jonathan Roberts
    0

    Encrypt User name and user Login and User Email address

    Hi,

    Due to a strict demand in regards of the new GDPR guidelines our clients ALL need their email addresses Encrypted.

    I know the GDPR guidelines say they dont have to be encrypted but our Clients ALL need this encrypted - and if we can't encrypt these fields then they will move CMS platform to Drupal.

    Has anyone encrypted these fields before and if so how is this possible?

    Thanks

    Jon

  • Joshua Lemli 52 posts 234 karma points
    Mar 02, 2018 @ 17:05
    Joshua Lemli
    0

    This sounds like it might appeal to a broader audience. You could bring it up here as feedback... Issues/Feedback ... and see what the community response is.

    Otherwise you can always roll your own controllers with encryption when and where you want it: MSDN Cryptography Class

  • Jonathan Roberts 409 posts 1063 karma points
    Mar 05, 2018 @ 11:11
    Jonathan Roberts
    0

    I would - but you cant login

  • Joshua Lemli 52 posts 234 karma points
    Mar 05, 2018 @ 14:23
    Joshua Lemli
    0

    Regarding not being able to login to the "report issues site" -- YES this is confusing. I forget how I was able to register but the links to login were not working for me either.

    It would be nice if someone @ Umbraco would look into that.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Mar 05, 2018 @ 15:26
    Jeavon Leopold
    0

    You can sign up for the issue tracker at http://issues.umbraco.org/registerUserForm

  • Joshua Lemli 52 posts 234 karma points
    Mar 05, 2018 @ 15:58
    Joshua Lemli
    0

    @Jeavon Leopold

    Thank you!!! Sorry this is in a sub-sub-thread. Is there a link available from issues.umbraco.org to direct users there? Apparently I wasn't the only one who had to dig to figure out how to register.

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Mar 06, 2018 @ 09:22
    Jeavon Leopold
    0

    If you are not logged in and you click "Login" there is then a link to "Register new account"?

  • Joshua Lemli 52 posts 234 karma points
    Mar 06, 2018 @ 13:49
    Joshua Lemli
    0

    @Jeavon Leopold

    Continuing this sub-sub-thread... no, I cannot login or register through the top-right login button. Using Google Chrome Version 64.0.3282.186. When I click on Log In there is an error thrown in the browser console:

    Uncaught TypeError: Cannot read property 'logout' of null
    at Object.handler (69cf1cc0.app.js:15)
    at Object.i.trigger (69cf1cc0.app.js:6)
    at g (69cf1cc0.app.js:6)
    at HTMLSpanElement.k (69cf1cc0.app.js:6)
    at HTMLDocument.dispatch (a9cb2043.lib.js:2)
    at HTMLDocument.q.handle (a9cb2043.lib.js:2)
    (anonymous) @   69cf1cc0.app.js:15
    i.trigger   @   69cf1cc0.app.js:6
    g   @   69cf1cc0.app.js:6
    k   @   69cf1cc0.app.js:6
    dispatch    @   a9cb2043.lib.js:2
    q.handle    @   a9cb2043.lib.js:2
    

    I can keep clicking and it just stays as such:

    login_screenshot

  • [email protected] 408 posts 2137 karma points MVP 8x c-trib
    Mar 05, 2018 @ 07:59
    jeffrey@umarketingsuite.com
    1

    Hi Jonathan,

    that sounds like an interesting case. I think it could be done, but you'll probably run into some problems due to email verification for example of the username for example. It could be fixed probably, but you'll need a custom build of the Umbraco source I guess.

    To look at the problem, I had some questions popping up:

    • Are we talking about Umbraco Users or Umbraco Members, or both?
    • Do they need to be encrypted at the database level?
    • Is it okay that people who have access to the User / Member-section will see the emailaddress and username in plaintext?
    • Could you explain why Drupal CMS would be a better choice? Are there any security related issues they handle better than Umbraco?

    Thanks,

    Jeffrey

  • Paul de Quant 403 posts 1520 karma points
    Mar 05, 2018 @ 08:20
    Paul de Quant
    0

    Hi Jeffrey,

    As Jonathan said earlier, as part of the move to GDPR the UK Gov is taking this one step further and insisting any personally identifiable information contained in the Member AND Users section be encrypted. Unfortunately this also includes your email address as the domain can confirm where you may work.

    Database level encryption would be needed, the running concern is that SQL injection attack may expose your details - or if someone managed to steal a back up etc.

    Drupal is the alternative because this can be done at a database level via MariaDB much like the Always Encrypted option in MS SQL. (Not because it's a better CMS :-)

    • Also to clarify this is not mandatory for all sites in the UK just UK gov issued ones.
  • [email protected] 408 posts 2137 karma points MVP 8x c-trib
    Mar 05, 2018 @ 08:35
    jeffrey@umarketingsuite.com
    0

    Hi Paul,

    as stated in my recent blog post (http://skrift.io/articles/archive/i-have-a-nightmare-dream-about-umbraco-and-gdpr/). 'Always encrypted' is an option, and that should work out of the box with Umbraco, but still you are vulnerable to SQL Injection.

    So if 'Always encrypted' is good enough for you, this will work in Umbraco.

  • Paul de Quant 403 posts 1520 karma points
    Mar 05, 2018 @ 08:40
    Paul de Quant
    0

    Hi Jeffrey,

    I've tried 'Always Encrypted' and it doesn't work with Umbraco. The CMS throws all sorts of errors. I've even enlisted the help of Microsoft and the Azure team.

    I know what you're saying about SQL Injection - this can be fixed, I'm talking about damage limitation here if someone managed to retrieve information from your database.

    If you've managed to get Always Encrypted to work in Umbraco I'd love to know how you did this.

    Thanks

    Paul

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Mar 05, 2018 @ 10:20
    Jeavon Leopold
    0

    SQL Azure Transparent data encryption works with Umbraco without you having to change anything, we have many many projects running with it.

    p.s. I know TDE isn't the same as "Always Encrypted"

  • Paul de Quant 403 posts 1520 karma points
    Mar 05, 2018 @ 11:53
    Paul de Quant
    0

    Hi Jeavon,

    We've got TDE enabled too, which covers us for Encryption at Rest. We just need to cover ourselves for encryption in motion.

    I tried changing a single column in the user table to use Always Encrypted, which results in the following error when you attempt to save/update the user:-

    System.Data.SqlClient.SqlException: Operand type clash: nvarchar(255) encrypted with (encryption_type = 'RANDOMIZED', encryption_algorithm_name = 'AEAD_AES_256_CBC_HMAC_SHA_256', column_encryption_key_name = 'GDPRKey', column_encryption_key_database_name = 'security-test') is incompatible with varchar
    
  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Mar 05, 2018 @ 12:14
    Jeavon Leopold
    0

    I have not tried "Always Encrypted" myself but @Jeffrey did mention in his Skrift article issues with certain fields types although I don't think nvarchar was one of them....

  • Jonathan Roberts 409 posts 1063 karma points
    Mar 06, 2018 @ 13:51
    Jonathan Roberts
    0

    Hi, No this doesnt work. We get the following error:

    System.Data.SqlClient.SqlException: Operand type clash: nvarchar(255) encrypted with (encryption_type = 'RANDOMIZED', encryption_algorithm_name = 'AEAD_AES_256_CBC_HMAC_SHA_256', column_encryption_key_name = 'GDPRKey', column_encryption_key_database_name = 'security-test') is incompatible with varchar
    
Please Sign in or register to post replies

Write your reply to:

Draft