TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Minimum Authentication/Authorization Features for a on Prem Web App?

1 pointsby monkey26about 8 years ago
I&#x27;ve developed a web application (an event Dashboard really) that is starting to get more users, but it doesn&#x27;t have any authentication yet, instead it relies on the user to setup their own authenticating reverse proxy, and as you might expect, authentication is a highly requested feature.<p>The app so far is something install on-prem, I don&#x27;t have a cloud hosted version, but don&#x27;t want to rule it out. Its mostly likely to be used by the IT and&#x2F;or security team and small to medium size orgs.<p>What are the minimum features of AA I should be offering? Its not that hard to simply add .htpasswd type auth, but its something I want to attempt to get right the first time.<p>If it matters, its a single page web app built with Angular 2, and the backend is Golang.<p>I need to think about some sort of RBAC and&#x2F;or ACLs as well.<p>Thanks for any input.

2 comments

osullivjabout 8 years ago
My app [1] uses Auth0 for cloud authentication, which gives me login with Google &amp; GitHub IDs. The on prem deployment uses pywin32 for Windows Auth, which is important in corporate environments that will require you to work with Active Directory. So I can use Windows UIDs like DOMAIN\userID. I can also map my rights groups to AD groups. My system isn&#x27;t open source, but I do include all the JavaScript and Python source. So if you grab the download [2] you can read the pywin32 code in ssauth.py, as well as the Auth0 integration in the JavaScript and Tornado based backend Python.<p>[1] <a href="http:&#x2F;&#x2F;spreadserve.com" rel="nofollow">http:&#x2F;&#x2F;spreadserve.com</a><p>[2] <a href="http:&#x2F;&#x2F;spreadserve.com&#x2F;s3&#x2F;downloads.html" rel="nofollow">http:&#x2F;&#x2F;spreadserve.com&#x2F;s3&#x2F;downloads.html</a>
davelnewtonabout 8 years ago
I&#x27;m not sure I totally understand the question.<p>A simple username&#x2F;email and password solution seems like it&#x27;d solve authentication, but isn&#x27;t that obvious?<p>Authorization depends totally on what your app actually <i>needs</i>, e.g., do different users have different roles? How fine-grained does the authorization need to be?
评论 #14037375 未加载