News for hackers. Stuff that matters.

Ask HN: Best practice for public links that are private

I'm trying to build a web app where users can share sensitive information with their trusted friends via a public link.

I'm thinking of making it password protected, so you need the link plus a code.

I want this feature so an attacker cannot just brute force all link combinations to get the user profiles.

I was wondering if there is a better way to do this than passwords

( 1 comment | on HN )
Re:Ask HN: Best practice for public links that are private by Chris2048 on Monday May 22, 2017 @01:32PM (#14395434)
an attacker can always BF all combinations, you just have to make the space so large they are unlikely to find anything.

Probably a good question for a Stack Overflow?