DEV Community

Discussion on: Best way to make website only accessible to you or some selected people?

Collapse
 
leadegroot profile image
Lea de Groot

If it is hosted under Apache, look into .htpasswd - this how the "dropdowns" for user name and password you occasionally see are done.
Upside: cant be hacked by getting into your db (not db driven); extremely simple to implement
Downside: cant do rate limiting to deter dictionary etc attacks

Unsure if "using githib markdown" means you are hosting it on github - don't think it would work there, you wont have access to uplaod the .htpasswd file :(

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Well, I am focusing on easy-to-create and easy-to-maintain. Easy-to-PR, as in code-less awesome GitHub repos would be nice, so it would be easy to contribute (in my circle only).

I probably will post an external link to password-protected Google Docs. However, Google Docs probably aren't as powerful as Markdown...

Edit: I would probably use password-protected Dropbox. Seem easier IMO.

Edit2: End up using box.com. Dropbox can also, but it is paid. Google Drive cannot.