cross-posted from: https://lemmy.ml/post/30253906
cross-posted from: https://lemmy.ml/post/30253851
cross-posted from: https://lemmy.ml/post/30253477
To admit frankly, l am a non technical person who would be tinkering with the task of creating a full fledged website for a travel company. For me, it’s going to be a fun activity. There are a lot of nerds out here who can help me with their expertise. Many thanks to you all😊😊😊
Please, whatever you eventually choose to do, make sure to continually reference this amazing website whenever you are implementing any interactable part.
https://cheatsheetseries.owasp.org/
It has cheat sheets for securely implementing everything from login forms, preventing common vulnerabilities (at least look at sheets for Top 10), forgoten password flows, storing passwprds and more.
From the top of my head, If you are building it from a scratch without a framework, you will definitely want to at least look into cheat sheets about input validation, injection prevention, password storage, session management, file upload and authorization with authentication.
They are not that long, and should prevent the most critical and common vulnerabilities you will probably have, where the prevention isn’t too difficult, once you know about it.
First create the HTML DOM, then beautify with CSS, then script stuff with JS for functionality you can’t do with HTML and Backend.
And read up on HTML tags, please. There’s too much div-only crap already. And better go basic than fancy; fancy is more technical debt that blows up (or leaks your users passwords) along the road
Don’t listen to the naysayers, they never did a website from scratch. And the usual frameworks have gone complex to a point that learning them and adjusting them to your needs eats more time than creating a basic website from scratch, while your websites performance and accessibility tanks. Imagine, a button not working just because you blocked third-party scripts!
Also enjoy your SQL injections, XSS injections and various other fun things that frameworks solve for you.
they don’t solve them. They make it harder for you to make mistakes. Doesn’t stop a capable developer from still introducing vulnerabilities.
that html page without js and just links is MORE secure than anything with JS.
Open browser, select search engine of choice, click in the search box, type, “make a dynamic website from scratch,” click search.