Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

134
Visualizações
Possible to differentiate physical device in javascript?

I have an application that allows someone the ability view recently accessed files on their file system (provided they grant access). For example, if the name of my computer is David$ then it might present something like:

Last 3 accessed files:
Sales.csv     (1 hour ago)
My Movie.mov  (3 hours ago)
Contract.pdf  (3 hours ago)

It would also cache this information based on someone's computer. In other words, if I signed in to the application from my Phone, it would store/cache something different than if I signed in from my desktop computer, which would be different than if I signed in from my laptop.

Is there a certain identifier that can be used -- and is accessible from the browser in javascript that can be used to uniquely identify a physical device? (Note: I don't care about the IP being used or browser or anything outside of the physical device).


For mac-specific, I'd use this from the command line, but I'm looking for something that can be used in js and is more general:

david$ python -c "import subprocess,json;print(json.loads(subprocess.check_output( \
                 ['system_profiler', '-json' ,'SPHardwareDataType'])) \
                 ['SPHardwareDataType'][0]['platform_UUID'])"
# BCAF9577-A2...
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda